Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001495/0.001495, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001871/0.001871, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.89 kB / 0.4909 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.124, allocations: 66 MB / 0.5554 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004736/0.1287, allocations: 3.298 MB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1306, allocations: 0.8296 MB / 0.5594 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.1309, allocations: 15.88 kB / 0.5594 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.1311, allocations: 75.23 kB / 0.5595 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.1316, allocations: 178.5 kB / 0.5597 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1318, allocations: 107.8 kB / 0.5598 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000635/0.1325, allocations: 0.5986 MB / 0.5603 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.1327, allocations: 125.4 kB / 0.5605 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.133, allocations: 231.2 kB / 0.5607 GB, free: 340 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.1334, allocations: 242.9 kB / 0.5609 GB, free: 96 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.1334, allocations: 44 kB / 0.561 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.1335, allocations: 48 kB / 0.561 GB, free: 4 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1336, allocations: 99.8 kB / 0.5611 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.1339, allocations: 266.7 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.1346, allocations: 0.564 MB / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1346, allocations: 3.984 kB / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1346, allocations: 0 / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.1346, allocations: 3.938 kB / 0.5619 GB, free: 15.07 MB / 430.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.001326/0.1359, allocations: 0.7674 MB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.136, allocations: 8.031 kB / 0.5627 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.1361, allocations: 86.7 kB / 0.5628 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1362, allocations: 56.61 kB / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.1368, allocations: 326.6 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.1368, allocations: 41.38 kB / 0.5632 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.1369, allocations: 60.31 kB / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.1377, allocations: 434.7 kB / 0.5636 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.1377, allocations: 11.94 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.1378, allocations: 20 kB / 0.5637 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.1378, allocations: 12 kB / 0.5637 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.1383, allocations: 312.5 kB / 0.564 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.1401, allocations: 1.146 MB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.1409, allocations: 467.3 kB / 0.5655 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.1412, allocations: 191 kB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1412, allocations: 4.438 kB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.1413, allocations: 46.94 kB / 0.5658 GB, free: 10.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.1413, allocations: 0 / 0.5658 GB, free: 10.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.003258/0.1445, allocations: 2.153 MB / 0.5679 GB, free: 8.578 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.1446, allocations: 85.67 kB / 0.5679 GB, free: 8.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1449, allocations: 254.9 kB / 0.5682 GB, free: 8.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.1449, allocations: 41.7 kB / 0.5682 GB, free: 8.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1451, allocations: 213.3 kB / 0.5684 GB, free: 7.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.1453, allocations: 281.6 kB / 0.5687 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1455, allocations: 122.6 kB / 0.5688 GB, free: 7.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1456, allocations: 358.7 kB / 0.5692 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.1459, allocations: 161.9 kB / 0.5693 GB, free: 7.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.1463, allocations: 276.9 kB / 0.5696 GB, free: 6.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/0.1471, allocations: 466.8 kB / 0.57 GB, free: 6.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1471, allocations: 0 / 0.57 GB, free: 6.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009173/0.148, allocations: 0.5671 MB / 0.5706 GB, free: 5.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1481, allocations: 8 kB / 0.5706 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1481, allocations: 0 / 0.5706 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.1481, allocations: 8 kB / 0.5706 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.1487, allocations: 175.8 kB / 0.5708 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.1487, allocations: 11.94 kB / 0.5708 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.149, allocations: 36.2 kB / 0.5708 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.1491, allocations: 24 kB / 0.5708 GB, free: 5.414 MB / 430.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.0002857/0.1494, allocations: 181.6 kB / 0.571 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1495, allocations: 47.77 kB / 0.5711 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.1498, allocations: 59.62 kB / 0.5711 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.1498, allocations: 11.94 kB / 0.5711 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1498, allocations: 0 / 0.5711 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.1498, allocations: 7.984 kB / 0.5711 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.1528, allocations: 1.44 MB / 0.5725 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.1528, allocations: 4 kB / 0.5725 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/0.1538, allocations: 155.8 kB / 0.5727 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.1538, allocations: 4 kB / 0.5727 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.1538, allocations: 23.94 kB / 0.5727 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.1538, allocations: 8 kB / 0.5727 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.1538, allocations: 8.281 kB / 0.5727 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.1555, allocations: 0.9196 MB / 0.5736 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1557, allocations: 120.8 kB / 0.5737 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.1558, allocations: 23.98 kB / 0.5738 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.1562, allocations: 12 kB / 0.5738 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.1563, allocations: 48.38 kB / 0.5738 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.1564, allocations: 27.94 kB / 0.5738 GB, free: 2.125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.1566, allocations: 178 kB / 0.574 GB, free: 1.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1566, allocations: 0 / 0.574 GB, free: 1.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007855/0.1574, allocations: 148 kB / 0.5742 GB, free: 1.809 MB / 430.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.00202/0.1594, allocations: 1.465 MB / 0.5756 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.1605, allocations: 439.8 kB / 0.576 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1605, allocations: 0 / 0.576 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.161, allocations: 222.5 kB / 0.5762 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.1624, allocations: 143.5 kB / 0.5764 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00963/0.172, allocations: 4.777 MB / 0.581 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.1727, allocations: 0.8485 MB / 0.5819 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003088/0.173, allocations: 60.66 kB / 0.5819 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.1733, allocations: 167.4 kB / 0.5821 GB, free: 9.402 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1733, allocations: 0 / 0.5821 GB, free: 9.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2912/0.4645, allocations: 9.995 MB / 0.5918 GB, free: 34.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.089/9.553, allocations: 9.609 kB / 0.5918 GB, free: 34.46 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.738943685078993]