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.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.0008815/0.0008815, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001016/0.001016, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9122/0.9122, allocations: 177.1 MB / 204.2 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2312/0.2312, allocations: 32.8 MB / 293.5 MB, free: 1.211 MB / 266.7 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.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_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 1.463e-06/1.463e-06, allocations: 0 / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.323e-05, allocations: 2.281 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002977/0.00299, allocations: 3.005 MB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004154, allocations: 0.8139 MB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.004333, allocations: 15.88 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.004488, allocations: 67.25 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.00472, allocations: 194.3 kB / 443.7 MB, free: 148 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.004907, allocations: 107.8 kB / 443.8 MB, free: 40 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1612/0.1661, allocations: 0.6176 MB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1663, allocations: 117.4 kB / 444.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.1666, allocations: 342.6 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1667, allocations: 178.5 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.1668, allocations: 41.59 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.169e-05/0.1668, allocations: 42.59 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.1669, allocations: 103.6 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.167, allocations: 188.1 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.1673, allocations: 0.5654 MB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1673, allocations: 0 / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1673, allocations: 7.781 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1673, allocations: 2.688 kB / 445.9 MB, free: 43.07 MB / 410.7 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.0006231/0.168, allocations: 0.6883 MB / 446.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.168, allocations: 8.844 kB / 446.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.505e-05/0.1681, allocations: 89.56 kB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.1681, allocations: 57.08 kB / 446.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1684, allocations: 258.3 kB / 447 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1685, allocations: 33.34 kB / 447.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.1685, allocations: 55.42 kB / 447.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.1689, allocations: 442 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.169, allocations: 7.234 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.169, allocations: 21.06 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.169, allocations: 18.19 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1693, allocations: 304.8 kB / 447.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1704, allocations: 1.005 MB / 448.9 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.1709, allocations: 387.7 kB / 449.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1711, allocations: 190.5 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1711, allocations: 9.281 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.1711, allocations: 38.88 kB / 449.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.834e-06/0.1711, allocations: 0 / 449.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.001707/0.1728, allocations: 1.865 MB / 451.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1729, allocations: 86.48 kB / 451.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.173, allocations: 258.4 kB / 451.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.173, allocations: 36.89 kB / 451.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.1731, allocations: 213.7 kB / 452 MB, free: 39.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1732, allocations: 279.5 kB / 452.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.1732, allocations: 122.7 kB / 452.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.1733, allocations: 357.6 kB / 452.7 MB, free: 39.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1735, allocations: 162.4 kB / 452.9 MB, free: 39.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1736, allocations: 276.5 kB / 453.1 MB, free: 38.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.174, allocations: 463.3 kB / 453.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.174, allocations: 7.188 kB / 453.6 MB, free: 38.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004932/0.1745, allocations: 0.5726 MB / 454.2 MB, free: 38.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1745, allocations: 6.625 kB / 454.2 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1745, allocations: 6.781 kB / 454.2 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1746, allocations: 6.469 kB / 454.2 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.1749, allocations: 177.9 kB / 454.4 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1749, allocations: 10.34 kB / 454.4 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.175, allocations: 24.86 kB / 454.4 MB, free: 38.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1751, allocations: 26.53 kB / 454.4 MB, free: 38.46 MB / 410.7 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.000111/0.1752, allocations: 179.7 kB / 454.6 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.1752, allocations: 47.31 kB / 454.6 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.1753, allocations: 60.42 kB / 454.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1753, allocations: 6.406 kB / 454.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.1753, allocations: 0 / 454.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1753, allocations: 10.3 kB / 454.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.1764, allocations: 1.352 MB / 456.1 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1764, allocations: 352 / 456.1 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.1767, allocations: 164.9 kB / 456.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1767, allocations: 6.375 kB / 456.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1767, allocations: 17.47 kB / 456.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1767, allocations: 7 kB / 456.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1767, allocations: 6.312 kB / 456.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.1773, allocations: 0.9103 MB / 457.2 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.1774, allocations: 42.81 kB / 457.2 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1774, allocations: 20.72 kB / 457.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1776, allocations: 25.34 kB / 457.3 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1776, allocations: 53.77 kB / 457.3 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1776, allocations: 19.41 kB / 457.3 MB, free: 36.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.592e-05/0.1777, allocations: 181.8 kB / 457.5 MB, free: 36.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1777, allocations: 0 / 457.5 MB, free: 36.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.178, allocations: 142.9 kB / 457.7 MB, free: 36.63 MB / 410.7 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.0007048/0.1787, allocations: 1.469 MB / 459.1 MB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.1791, allocations: 438.6 kB / 459.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1791, allocations: 3.344 kB / 459.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1793, allocations: 221.2 kB / 459.8 MB, free: 35.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.1799, allocations: 127.7 kB / 459.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.183, allocations: 4.504 MB / 464.4 MB, free: 32.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.1831, allocations: 243 kB / 464.6 MB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.1833, allocations: 61.92 kB / 464.7 MB, free: 32.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.1834, allocations: 170.7 kB / 464.9 MB, free: 32.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1834, allocations: 0 / 464.9 MB, free: 32.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.2073, allocations: 11.06 MB / 475.9 MB, free: 30.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/7.117, allocations: 3.938 kB / 475.9 MB, free: 30.2 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.130765555426478]