Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001342/0.001342, allocations: 118.2 kB / 18.5 MB, free: 4.602 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.001623/0.001623, allocations: 211.3 kB / 21.46 MB, free: 1.648 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.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.9 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 79.86 kB / 0.4912 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1373, allocations: 65.99 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005098/0.1424, allocations: 3.305 MB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1443, allocations: 0.8374 MB / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004402/0.1448, allocations: 11.94 kB / 0.5597 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1451, allocations: 71.23 kB / 0.5598 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.1456, allocations: 174.5 kB / 0.56 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.146, allocations: 107.8 kB / 0.5601 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.1469, allocations: 0.6024 MB / 0.5607 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.1472, allocations: 125.4 kB / 0.5608 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.1476, allocations: 223.3 kB / 0.561 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.1479, allocations: 238.9 kB / 0.5612 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.148, allocations: 47.94 kB / 0.5613 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.894e-05/0.1481, allocations: 44 kB / 0.5613 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1482, allocations: 107.7 kB / 0.5614 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.1485, allocations: 266.7 kB / 0.5617 GB, free: 248 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006824/0.1492, allocations: 0.5601 MB / 0.5622 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1492, allocations: 0 / 0.5622 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1492, allocations: 0 / 0.5622 GB, free: 15.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.1492, allocations: 3.938 kB / 0.5622 GB, free: 15.68 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.001311/0.1505, allocations: 0.7674 MB / 0.563 GB, free: 14.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1506, allocations: 11.97 kB / 0.563 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.47e-05/0.1507, allocations: 86.7 kB / 0.5631 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.332e-05/0.1507, allocations: 56.61 kB / 0.5631 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.1513, allocations: 330.5 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1513, allocations: 33.38 kB / 0.5635 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.1514, allocations: 60.33 kB / 0.5635 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.1521, allocations: 434.7 kB / 0.5639 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.1522, allocations: 11.94 kB / 0.5639 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.1522, allocations: 20 kB / 0.564 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1522, allocations: 15.94 kB / 0.564 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.1528, allocations: 316.4 kB / 0.5643 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1546, allocations: 1.142 MB / 0.5654 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.1554, allocations: 457.9 kB / 0.5658 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.1557, allocations: 198.9 kB / 0.566 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1557, allocations: 8.438 kB / 0.566 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1558, allocations: 46.88 kB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.1558, allocations: 0 / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.003398/0.1592, allocations: 2.148 MB / 0.5682 GB, free: 9.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.1592, allocations: 85.67 kB / 0.5683 GB, free: 9.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1595, allocations: 251 kB / 0.5685 GB, free: 8.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.1595, allocations: 41.7 kB / 0.5685 GB, free: 8.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1597, allocations: 213.4 kB / 0.5687 GB, free: 8.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.1599, allocations: 289.5 kB / 0.569 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.1601, allocations: 118.6 kB / 0.5691 GB, free: 8.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1603, allocations: 358.7 kB / 0.5695 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.1606, allocations: 153.9 kB / 0.5696 GB, free: 7.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.1609, allocations: 280.9 kB / 0.5699 GB, free: 7.348 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.1616, allocations: 468 kB / 0.5703 GB, free: 6.855 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.1616, allocations: 8 kB / 0.5703 GB, free: 6.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009159/0.1626, allocations: 0.5672 MB / 0.5709 GB, free: 6.273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1626, allocations: 4 kB / 0.5709 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1626, allocations: 4 kB / 0.5709 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.1626, allocations: 4 kB / 0.5709 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.1632, allocations: 187.7 kB / 0.5711 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.1632, allocations: 7.938 kB / 0.5711 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.1635, allocations: 27.94 kB / 0.5711 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.1636, allocations: 20.16 kB / 0.5711 GB, free: 6.023 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.0002299/0.1638, allocations: 193.6 kB / 0.5713 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.1639, allocations: 51.75 kB / 0.5714 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.164, allocations: 51.64 kB / 0.5714 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.164, allocations: 8 kB / 0.5714 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1641, allocations: 0 / 0.5714 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.1641, allocations: 11.92 kB / 0.5714 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.1663, allocations: 1.436 MB / 0.5728 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1663, allocations: 4 kB / 0.5728 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.167, allocations: 163.8 kB / 0.573 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.167, allocations: 4 kB / 0.573 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.167, allocations: 19.94 kB / 0.573 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.1671, allocations: 7.938 kB / 0.573 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1671, allocations: 4 kB / 0.573 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.1683, allocations: 0.9239 MB / 0.5739 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.1685, allocations: 116.8 kB / 0.574 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.1686, allocations: 20 kB / 0.5741 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.1688, allocations: 19.98 kB / 0.5741 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.1689, allocations: 56.31 kB / 0.5741 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.169, allocations: 23.94 kB / 0.5742 GB, free: 2.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1691, allocations: 174 kB / 0.5743 GB, free: 2.555 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1691, allocations: 0 / 0.5743 GB, free: 2.555 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005623/0.1697, allocations: 144 kB / 0.5745 GB, free: 2.414 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.001543/0.1712, allocations: 1.471 MB / 0.5759 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008333/0.1721, allocations: 432 kB / 0.5763 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.1721, allocations: 8.062 kB / 0.5763 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.1724, allocations: 218.2 kB / 0.5765 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/0.1733, allocations: 135.2 kB / 0.5767 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/0.1803, allocations: 4.781 MB / 0.5813 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.1808, allocations: 0.8485 MB / 0.5822 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.1811, allocations: 60.66 kB / 0.5822 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.1813, allocations: 163.4 kB / 0.5824 GB, free: 10.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.492e-06/0.1813, allocations: 0 / 0.5824 GB, free: 10.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.2232, allocations: 10.01 MB / 0.5921 GB, free: 208 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.313/9.537, allocations: 3.984 kB / 0.5921 GB, free: 204 kB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 13.03415792202577]