Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001349/0.001349, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001603/0.001603, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.485/1.485, allocations: 230.4 MB / 254 MB, free: 15.18 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.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 59.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1117, allocations: 53.38 MB / 426.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01069/0.1224, allocations: 8.135 MB / 434.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005233/0.1276, allocations: 2.68 MB / 437.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.129, allocations: 27.88 kB / 437.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.131, allocations: 0.5793 MB / 437.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.1328, allocations: 0.4925 MB / 438.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.1336, allocations: 247.7 kB / 438.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.1359, allocations: 1.475 MB / 440 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008747/0.1368, allocations: 398.8 kB / 440.4 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1379, allocations: 0.572 MB / 441 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.139, allocations: 0.6027 MB / 441.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.1393, allocations: 140 kB / 441.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.1399, allocations: 176 kB / 441.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.1402, allocations: 279 kB / 442.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007894/0.141, allocations: 0.6648 MB / 442.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.1431, allocations: 1.728 MB / 444.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1431, allocations: 0 / 444.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1431, allocations: 0 / 444.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1431, allocations: 0 / 444.5 MB, free: 2.453 MB / 366.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.00255/0.1457, allocations: 1.487 MB / 446 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1457, allocations: 8.031 kB / 446 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.1459, allocations: 152.4 kB / 446.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006651/0.1466, allocations: 192 kB / 446.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1978/0.3444, allocations: 0.748 MB / 447.1 MB, free: 23.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3445, allocations: 73.5 kB / 447.2 MB, free: 23.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.3449, allocations: 103.2 kB / 447.3 MB, free: 23.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.3475, allocations: 0.926 MB / 448.2 MB, free: 23.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-05/0.3476, allocations: 6.125 kB / 448.2 MB, free: 23.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.3477, allocations: 40.97 kB / 448.3 MB, free: 23.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.3477, allocations: 27.22 kB / 448.3 MB, free: 23.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.3491, allocations: 0.6379 MB / 448.9 MB, free: 23.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/0.3546, allocations: 3.883 MB / 452.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.3553, allocations: 416.1 kB / 453.2 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.356, allocations: 257.2 kB / 453.5 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.356, allocations: 14.77 kB / 453.5 MB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.356, allocations: 37.59 kB / 453.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.356, allocations: 0 / 453.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003012/0.359, allocations: 1.409 MB / 454.9 MB, free: 20.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3591, allocations: 81.48 kB / 455 MB, free: 19.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.3606, allocations: 0.8289 MB / 455.8 MB, free: 19.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3606, allocations: 38.02 kB / 455.9 MB, free: 19.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.3609, allocations: 0.5665 MB / 456.4 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3611, allocations: 170 kB / 456.6 MB, free: 19.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.3612, allocations: 130.3 kB / 456.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.3613, allocations: 333.3 kB / 457.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.3617, allocations: 166.9 kB / 457.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.3622, allocations: 458.4 kB / 457.7 MB, free: 18.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.363, allocations: 0.6623 MB / 458.3 MB, free: 17.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.363, allocations: 3.25 kB / 458.3 MB, free: 17.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001554/0.3646, allocations: 0.7704 MB / 459.1 MB, free: 17.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3646, allocations: 13.5 kB / 459.1 MB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.3646, allocations: 10.62 kB / 459.1 MB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.3649, allocations: 82.58 kB / 459.2 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.3654, allocations: 154.4 kB / 459.4 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.3674, allocations: 3.135 MB / 462.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007453/0.3682, allocations: 36.73 kB / 462.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.3683, allocations: 31.56 kB / 462.6 MB, free: 14.07 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.0004749/0.3687, allocations: 268.4 kB / 462.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.369, allocations: 90.72 kB / 462.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.3701, allocations: 488.9 kB / 463.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3701, allocations: 5.953 kB / 463.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3701, allocations: 1.188 kB / 463.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3701, allocations: 3.125 kB / 463.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.3729, allocations: 1.432 MB / 464.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.3729, allocations: 6.156 kB / 464.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.3732, allocations: 74.89 kB / 464.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.3734, allocations: 72.08 kB / 465 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.3734, allocations: 12.22 kB / 465 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.3752, allocations: 3.125 MB / 468.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.3752, allocations: 6.766 kB / 468.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.3767, allocations: 0.7649 MB / 468.9 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.3771, allocations: 203.8 kB / 469.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.3773, allocations: 13.33 kB / 469.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.3777, allocations: 27.31 kB / 469.1 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.3778, allocations: 34.47 kB / 469.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.3779, allocations: 14.95 kB / 469.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008885/0.3787, allocations: 0.5599 MB / 469.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3787, allocations: 4 kB / 469.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001105/0.3798, allocations: 213.4 kB / 469.9 MB, free: 8.695 MB / 366.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.001585/0.3814, allocations: 1.336 MB / 471.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.3827, allocations: 0.6705 MB / 471.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3827, allocations: 0.5625 kB / 472 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000632/0.3833, allocations: 446.2 kB / 472.4 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3845, allocations: 237.6 kB / 472.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.3953, allocations: 7.306 MB / 479.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.3959, allocations: 1.004 MB / 480.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004514/0.3964, allocations: 107.8 kB / 481 MB, free: 1.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.3968, allocations: 374 kB / 481.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3968, allocations: 0 / 481.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/0.4589, allocations: 19.23 MB / 0.4889 GB, free: 3.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.08, allocations: 64 / 0.4889 GB, free: 3.965 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.173668082104996]