Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.94 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 53.33 MB / 426.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.2237/0.3389, allocations: 8.122 MB / 434.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.3432, allocations: 2.677 MB / 437.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.3438, allocations: 28.84 kB / 437.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.3453, allocations: 0.5705 MB / 437.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.3465, allocations: 0.492 MB / 438.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.347, allocations: 247.5 kB / 438.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.3487, allocations: 1.477 MB / 439.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000657/0.3494, allocations: 406.4 kB / 440.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/0.3503, allocations: 0.5786 MB / 440.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.3511, allocations: 0.5941 MB / 441.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.3513, allocations: 139.8 kB / 441.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.3517, allocations: 173.7 kB / 441.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.3519, allocations: 284 kB / 442.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000575/0.3525, allocations: 0.6623 MB / 442.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.3545, allocations: 1.726 MB / 444.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3545, allocations: 4 kB / 444.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3545, allocations: 0.5 kB / 444.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.3546, allocations: 0.5 kB / 444.5 MB, free: 2.465 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002729/0.3573, allocations: 1.48 MB / 446 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3573, allocations: 8.594 kB / 446 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.3575, allocations: 148.9 kB / 446.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/0.3582, allocations: 194.5 kB / 446.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.3593, allocations: 0.7576 MB / 447.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.3593, allocations: 76.97 kB / 447.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.3595, allocations: 100.4 kB / 447.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.3609, allocations: 0.93 MB / 448.2 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.3609, allocations: 2.172 kB / 448.2 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.361, allocations: 50.28 kB / 448.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.361, allocations: 23.47 kB / 448.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.3623, allocations: 0.6384 MB / 448.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005763/0.368, allocations: 3.895 MB / 452.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.3687, allocations: 422.3 kB / 453.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.3693, allocations: 247.2 kB / 453.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.3694, allocations: 3.984 kB / 453.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3694, allocations: 38.58 kB / 453.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.3694, allocations: 0 / 453.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00297/0.3724, allocations: 1.417 MB / 454.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3724, allocations: 83.88 kB / 455 MB, free: 11.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.3735, allocations: 0.8262 MB / 455.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.3736, allocations: 31.08 kB / 455.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/0.374, allocations: 0.5683 MB / 456.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3741, allocations: 162.5 kB / 456.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3743, allocations: 136.2 kB / 456.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3745, allocations: 332.8 kB / 457 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.3748, allocations: 169.3 kB / 457.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.3754, allocations: 460.7 kB / 457.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009773/0.3764, allocations: 0.6578 MB / 458.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3764, allocations: 3.625 kB / 458.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001361/0.3778, allocations: 0.77 MB / 459.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.3778, allocations: 9.594 kB / 459.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3778, allocations: 9.188 kB / 459.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.3781, allocations: 93.58 kB / 459.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.3786, allocations: 151.6 kB / 459.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.3817, allocations: 3.14 MB / 462.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/0.3824, allocations: 37.03 kB / 462.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.3825, allocations: 35.59 kB / 462.5 MB, free: 5.965 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000548/0.3831, allocations: 265.1 kB / 462.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.3832, allocations: 90.12 kB / 462.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.3842, allocations: 489.7 kB / 463.3 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3842, allocations: 5.469 kB / 463.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3842, allocations: 5.062 kB / 463.4 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3843, allocations: 3.984 kB / 463.4 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.3866, allocations: 1.426 MB / 464.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3866, allocations: 5.484 kB / 464.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.3869, allocations: 77.91 kB / 464.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.3871, allocations: 74.45 kB / 464.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.3871, allocations: 11.59 kB / 465 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.3898, allocations: 3.127 MB / 468.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3898, allocations: 3.531 kB / 468.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3911, allocations: 0.7727 MB / 468.9 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.3915, allocations: 205.8 kB / 469.1 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.625e-05/0.3915, allocations: 12.81 kB / 469.1 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.392, allocations: 26.47 kB / 469.1 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.392, allocations: 30.7 kB / 469.1 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3921, allocations: 14.84 kB / 469.1 MB, free: 352 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008094/0.3929, allocations: 0.5687 MB / 469.7 MB, free: 16 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3929, allocations: 0 / 469.7 MB, free: 16 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009615/0.3938, allocations: 205 kB / 469.9 MB, free: 15.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001752/0.3956, allocations: 1.339 MB / 471.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3968, allocations: 0.668 MB / 471.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3968, allocations: 1.844 kB / 471.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.3975, allocations: 444.7 kB / 472.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3986, allocations: 228 kB / 472.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.4093, allocations: 7.324 MB / 479.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.41, allocations: 0.9986 MB / 480.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004321/0.4105, allocations: 108.7 kB / 481 MB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.4109, allocations: 374.3 kB / 481.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4109, allocations: 0 / 481.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06185/0.4728, allocations: 19.22 MB / 0.4889 GB, free: 4.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.64, allocations: 3.438 kB / 0.4889 GB, free: 4.98 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.562857388998964]