Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 249.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.91 MB / 349.6 MB, free: 1.824 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.92 kB / 491.8 MB, free: 30.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1325, allocations: 64.26 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004818/0.1373, allocations: 3.271 MB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1389, allocations: 0.8218 MB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1392, allocations: 11.94 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1394, allocations: 71.14 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.1398, allocations: 178.5 kB / 0.5472 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1401, allocations: 119.8 kB / 0.5474 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.1407, allocations: 0.5793 MB / 0.5479 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.141, allocations: 121.4 kB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.1413, allocations: 239.1 kB / 0.5483 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.1416, allocations: 235 kB / 0.5485 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.707e-05/0.1417, allocations: 44 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.1417, allocations: 44 kB / 0.5486 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.1418, allocations: 103.6 kB / 0.5487 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.1421, allocations: 258.8 kB / 0.5489 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006548/0.1427, allocations: 0.5718 MB / 0.5495 GB, free: 13.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1427, allocations: 0 / 0.5495 GB, free: 13.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1427, allocations: 0 / 0.5495 GB, free: 13.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1427, allocations: 0 / 0.5495 GB, free: 13.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001206/0.144, allocations: 0.7674 MB / 0.5502 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.144, allocations: 12.03 kB / 0.5502 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.1441, allocations: 86.7 kB / 0.5503 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.994e-05/0.1442, allocations: 56.61 kB / 0.5504 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.1447, allocations: 322.6 kB / 0.5507 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.1448, allocations: 33.38 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.1448, allocations: 52.33 kB / 0.5508 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.1456, allocations: 446.7 kB / 0.5512 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.1456, allocations: 15.91 kB / 0.5512 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.1457, allocations: 20 kB / 0.5512 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1457, allocations: 12 kB / 0.5512 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.1462, allocations: 308.5 kB / 0.5515 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1481, allocations: 1.154 MB / 0.5527 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/0.1489, allocations: 468.8 kB / 0.5531 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.1492, allocations: 190.9 kB / 0.5533 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.1493, allocations: 8.438 kB / 0.5533 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.1493, allocations: 46.97 kB / 0.5533 GB, free: 9.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.505e-06/0.1493, allocations: 0 / 0.5533 GB, free: 9.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003349/0.1527, allocations: 2.139 MB / 0.5554 GB, free: 6.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.1527, allocations: 89.67 kB / 0.5555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1531, allocations: 251 kB / 0.5558 GB, free: 6.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.1531, allocations: 37.7 kB / 0.5558 GB, free: 6.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1533, allocations: 213.4 kB / 0.556 GB, free: 6.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.1536, allocations: 285.5 kB / 0.5563 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.1537, allocations: 122.7 kB / 0.5564 GB, free: 5.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.154, allocations: 358.7 kB / 0.5567 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.1542, allocations: 161.9 kB / 0.5569 GB, free: 5.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.1546, allocations: 269.1 kB / 0.5571 GB, free: 5.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.1553, allocations: 486.7 kB / 0.5576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1553, allocations: 0 / 0.5576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008937/0.1562, allocations: 0.5671 MB / 0.5582 GB, free: 4.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1563, allocations: 8.281 kB / 0.5582 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1563, allocations: 8.062 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1563, allocations: 8 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.1569, allocations: 171.8 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.1569, allocations: 15.92 kB / 0.5584 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.1572, allocations: 23.94 kB / 0.5584 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.1572, allocations: 28 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.1575, allocations: 173.7 kB / 0.5586 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.1576, allocations: 47.72 kB / 0.5586 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.1577, allocations: 59.64 kB / 0.5587 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.1577, allocations: 8 kB / 0.5587 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.1577, allocations: 0 / 0.5587 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1577, allocations: 11.86 kB / 0.5587 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.1599, allocations: 1.444 MB / 0.5601 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.1599, allocations: 8.062 kB / 0.5601 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.1606, allocations: 151.8 kB / 0.5603 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.1606, allocations: 11.98 kB / 0.5603 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.1606, allocations: 23.94 kB / 0.5603 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.1606, allocations: 7.984 kB / 0.5603 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1606, allocations: 4 kB / 0.5603 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.1618, allocations: 0.9044 MB / 0.5612 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.162, allocations: 132.7 kB / 0.5613 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.1621, allocations: 19.94 kB / 0.5613 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.1623, allocations: 24.03 kB / 0.5613 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.1624, allocations: 40.38 kB / 0.5614 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.1624, allocations: 39.86 kB / 0.5614 GB, free: 484 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1626, allocations: 174 kB / 0.5616 GB, free: 312 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1626, allocations: 0 / 0.5616 GB, free: 312 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005417/0.1632, allocations: 144 kB / 0.5617 GB, free: 168 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/0.1647, allocations: 1.472 MB / 0.5632 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007936/0.1655, allocations: 427.6 kB / 0.5636 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1655, allocations: 4 kB / 0.5636 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.1658, allocations: 227.2 kB / 0.5638 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/0.1667, allocations: 121.1 kB / 0.5639 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/0.1733, allocations: 4.8 MB / 0.5686 GB, free: 8.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.1738, allocations: 0.8485 MB / 0.5694 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.174, allocations: 56.66 kB / 0.5695 GB, free: 7.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.1743, allocations: 167.4 kB / 0.5696 GB, free: 7.762 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1743, allocations: 4 kB / 0.5696 GB, free: 7.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.2129, allocations: 10 MB / 0.5794 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/9.384, allocations: 2.875 kB / 0.5794 GB, free: 13.97 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.509018464945257]