Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.0009221/0.0009221, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008441/0.0008441, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8848/0.8848, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.DCSE_SinglePhase,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.587e-05, allocations: 7.406 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.006224/0.00624, allocations: 7.287 MB / 331.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.009233, allocations: 2.571 MB / 334.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.009696, allocations: 27.88 kB / 334.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.01059, allocations: 0.5285 MB / 334.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.01128, allocations: 0.5271 MB / 335.5 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.01168, allocations: 275.6 kB / 335.7 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.01298, allocations: 1.578 MB / 337.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.01359, allocations: 375.3 kB / 337.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.01453, allocations: 0.8768 MB / 338.6 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.01498, allocations: 450.6 kB / 339 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.01508, allocations: 140 kB / 339.1 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.01529, allocations: 191.8 kB / 339.3 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01542, allocations: 290.8 kB / 339.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.01572, allocations: 474.8 kB / 340.1 MB, free: 252 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.01695, allocations: 1.76 MB / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01695, allocations: 0 / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.01695, allocations: 4 kB / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.01696, allocations: 0 / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001645/0.01861, allocations: 1.427 MB / 343.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.01865, allocations: 15.98 kB / 343.3 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.01877, allocations: 148.4 kB / 343.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.01914, allocations: 204 kB / 343.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.01994, allocations: 0.6969 MB / 344.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.01997, allocations: 70 kB / 344.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.02006, allocations: 104 kB / 344.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/0.02106, allocations: 1.047 MB / 345.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.02108, allocations: 0 / 345.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.02113, allocations: 40 kB / 345.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.02114, allocations: 27.94 kB / 345.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008092/0.02195, allocations: 0.6519 MB / 346.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.02517, allocations: 3.529 MB / 349.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.02562, allocations: 343.9 kB / 350.1 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.02597, allocations: 260.6 kB / 350.4 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.026, allocations: 4 kB / 350.4 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.02602, allocations: 38.56 kB / 350.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.02602, allocations: 0 / 350.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001756/0.02777, allocations: 1.336 MB / 351.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.02782, allocations: 89.05 kB / 351.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.02854, allocations: 0.8566 MB / 352.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.02856, allocations: 33.7 kB / 352.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.02887, allocations: 0.5736 MB / 353.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.02895, allocations: 170.6 kB / 353.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.02907, allocations: 134.6 kB / 353.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.02915, allocations: 337.9 kB / 353.9 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.02938, allocations: 181.8 kB / 354.1 MB, free: 1.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.02973, allocations: 497.3 kB / 354.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.03033, allocations: 0.6797 MB / 355.3 MB, free: 320 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.03033, allocations: 0 / 355.3 MB, free: 320 kB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008636/0.03119, allocations: 0.7911 MB / 356.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.03121, allocations: 8 kB / 356.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.03122, allocations: 8 kB / 356.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.03141, allocations: 85.62 kB / 356.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.03168, allocations: 160 kB / 356.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.03339, allocations: 2.927 MB / 359.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.03365, allocations: 35.98 kB / 359.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.03368, allocations: 35.98 kB / 359.3 MB, free: 12.02 MB / 330.7 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 (85): * 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: 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.000237/0.03392, allocations: 261.5 kB / 359.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.03399, allocations: 99.33 kB / 359.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.03459, allocations: 0.4954 MB / 360.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.03459, allocations: 4 kB / 360.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.0346, allocations: 4 kB / 360.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.0346, allocations: 3.984 kB / 360.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.03617, allocations: 1.337 MB / 361.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.03617, allocations: 128 / 361.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.03636, allocations: 80.11 kB / 361.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.0365, allocations: 73.67 kB / 361.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.03652, allocations: 8.047 kB / 361.7 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.0397, allocations: 2.908 MB / 364.6 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.03971, allocations: 0 / 364.6 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.04096, allocations: 0.7987 MB / 365.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.04124, allocations: 127.4 kB / 365.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.04131, allocations: 12.11 kB / 365.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.04154, allocations: 35.98 kB / 365.5 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.04161, allocations: 39.81 kB / 365.6 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.04163, allocations: 16 kB / 365.6 MB, free: 5.348 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000487/0.04211, allocations: 0.5732 MB / 366.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04211, allocations: 0 / 366.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006336/0.04275, allocations: 211.9 kB / 366.4 MB, free: 4.57 MB / 330.7 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 (39): * Single equations (assignments): 37 * 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.001067/0.04381, allocations: 1.374 MB / 367.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007897/0.0446, allocations: 0.6823 MB / 368.4 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.04461, allocations: 0 / 368.4 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.04498, allocations: 437.1 kB / 368.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.04562, allocations: 237.7 kB / 369.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/0.05334, allocations: 7.445 MB / 376.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.05363, allocations: 426.7 kB / 377 MB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002789/0.05391, allocations: 107.3 kB / 377.1 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.05423, allocations: 392.4 kB / 377.4 MB, free: 8.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.05423, allocations: 0 / 377.4 MB, free: 8.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.09542, allocations: 21.35 MB / 398.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.569, allocations: 7.891 kB / 398.8 MB, free: 3.84 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_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_DCSE_SinglePhase.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.685622002929449]