Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 205.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 63.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2796, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009425/0.289, allocations: 7.068 MB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004296/0.2933, allocations: 2.451 MB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006418/0.2939, allocations: 27.88 kB / 440.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.2953, allocations: 0.517 MB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.2963, allocations: 492.4 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.2968, allocations: 239.7 kB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2983, allocations: 1.431 MB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000618/0.2989, allocations: 375.3 kB / 443.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.2996, allocations: 0.5681 MB / 444.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.3003, allocations: 0.5013 MB / 444.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.3005, allocations: 136 kB / 444.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.3008, allocations: 172 kB / 445.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.301, allocations: 275 kB / 445.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.3015, allocations: 0.5211 MB / 445.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.3033, allocations: 1.716 MB / 447.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3033, allocations: 0 / 447.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3033, allocations: 0 / 447.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.3033, allocations: 0 / 447.6 MB, free: 5.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002438/0.3057, allocations: 1.388 MB / 449 MB, free: 4.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3058, allocations: 19.98 kB / 449 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.3059, allocations: 144.3 kB / 449.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/0.3065, allocations: 180 kB / 449.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.3077, allocations: 0.6609 MB / 450 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.3078, allocations: 74 kB / 450.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.3079, allocations: 99.95 kB / 450.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.3095, allocations: 0.9982 MB / 451.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.3096, allocations: 7.984 kB / 451.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.3096, allocations: 43.98 kB / 451.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.3097, allocations: 24 kB / 451.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.3109, allocations: 0.6246 MB / 451.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.3156, allocations: 3.484 MB / 455.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.3161, allocations: 265.6 kB / 455.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.3164, allocations: 140.7 kB / 455.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3164, allocations: 4 kB / 455.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3165, allocations: 38.5 kB / 455.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.3165, allocations: 0 / 455.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002205/0.3187, allocations: 1.043 MB / 456.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.3187, allocations: 85.05 kB / 456.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3198, allocations: 0.8369 MB / 457.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3199, allocations: 37.7 kB / 457.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.3203, allocations: 0.585 MB / 458.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.3204, allocations: 138.8 kB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.3206, allocations: 122.6 kB / 458.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3208, allocations: 337.9 kB / 458.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3211, allocations: 149.9 kB / 459.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.3216, allocations: 481.7 kB / 459.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009216/0.3225, allocations: 0.6513 MB / 460.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3225, allocations: 4 kB / 460.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001244/0.3238, allocations: 0.685 MB / 460.9 MB, free: 7.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3238, allocations: 15.94 kB / 460.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3238, allocations: 8 kB / 460.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.324, allocations: 36.84 kB / 461 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.3245, allocations: 159.7 kB / 461.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3256, allocations: 1.291 MB / 462.4 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.3261, allocations: 35.98 kB / 462.4 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.3262, allocations: 32 kB / 462.5 MB, free: 6.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.3266, allocations: 262 kB / 462.7 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.3267, allocations: 95.53 kB / 462.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/0.3275, allocations: 378.3 kB / 463.2 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3275, allocations: 4 kB / 463.2 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3275, allocations: 4 kB / 463.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3275, allocations: 0 / 463.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.3294, allocations: 1.152 MB / 464.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.3294, allocations: 7.938 kB / 464.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.3297, allocations: 71.91 kB / 464.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.484e-05/0.3298, allocations: 16.84 kB / 464.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.3298, allocations: 16 kB / 464.5 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3309, allocations: 1.26 MB / 465.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3309, allocations: 4.031 kB / 465.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3321, allocations: 0.6325 MB / 466.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.3323, allocations: 123.4 kB / 466.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.3324, allocations: 8 kB / 466.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.3328, allocations: 27.92 kB / 466.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.3329, allocations: 31.89 kB / 466.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3329, allocations: 8 kB / 466.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007779/0.3337, allocations: 0.5615 MB / 467.1 MB, free: 1.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3337, allocations: 0 / 467.1 MB, free: 1.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007348/0.3344, allocations: 188 kB / 467.3 MB, free: 1.086 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/0.3359, allocations: 1.204 MB / 468.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009903/0.3368, allocations: 0.4887 MB / 469 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3369, allocations: 0 / 469 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.3373, allocations: 262.4 kB / 469.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3383, allocations: 219.6 kB / 469.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.35, allocations: 7.111 MB / 476.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.3505, allocations: 412.8 kB / 477 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004151/0.3509, allocations: 102.9 kB / 477.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.3514, allocations: 371.3 kB / 477.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3514, allocations: 0 / 477.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0545/0.4059, allocations: 19.55 MB / 497 MB, free: 3.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.31, allocations: 14.44 kB / 497 MB, free: 3.105 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.388927856925875]