Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3967/0.3967, allocations: 43.57 MB / 315 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005514/0.0005517, allocations: 15.98 kB / 384.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 58.87 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003298/0.1437, allocations: 2.914 MB / 446.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1451, allocations: 0.8386 MB / 447.2 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1453, allocations: 11.94 kB / 447.2 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1455, allocations: 47.61 kB / 447.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1458, allocations: 154.8 kB / 447.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.146, allocations: 91.91 kB / 447.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.1465, allocations: 0.5714 MB / 448.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.1468, allocations: 145.8 kB / 448.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.147, allocations: 195.2 kB / 448.4 MB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1472, allocations: 222.9 kB / 448.6 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.1473, allocations: 24 kB / 448.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.1474, allocations: 24 kB / 448.7 MB, free: 7.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.1474, allocations: 75.67 kB / 448.7 MB, free: 7.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.1477, allocations: 268.5 kB / 449 MB, free: 7.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.1481, allocations: 0.5174 MB / 449.5 MB, free: 6.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1481, allocations: 3.984 kB / 449.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1481, allocations: 0 / 449.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1481, allocations: 4 kB / 449.5 MB, free: 6.766 MB / 382.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.0009198/0.1491, allocations: 0.6666 MB / 450.2 MB, free: 6.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1491, allocations: 8.031 kB / 450.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.1492, allocations: 60.28 kB / 450.3 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1496, allocations: 322.4 kB / 450.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.1496, allocations: 33.38 kB / 450.6 MB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-05/0.1497, allocations: 56.28 kB / 450.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.1504, allocations: 434.9 kB / 451.1 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.1504, allocations: 7.906 kB / 451.1 MB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.1505, allocations: 23.94 kB / 451.1 MB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.1505, allocations: 12 kB / 451.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.151, allocations: 316.5 kB / 451.4 MB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1527, allocations: 1.157 MB / 452.6 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.1534, allocations: 489.1 kB / 453.1 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.1537, allocations: 214.9 kB / 453.3 MB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1538, allocations: 8.438 kB / 453.3 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1538, allocations: 38.98 kB / 453.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.904e-06/0.1538, allocations: 0 / 453.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002861/0.1567, allocations: 2.14 MB / 455.5 MB, free: 452 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1567, allocations: 89.67 kB / 455.6 MB, free: 344 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.157, allocations: 259 kB / 455.8 MB, free: 72 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.157, allocations: 37.7 kB / 455.9 MB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2542/0.4112, allocations: 202.2 kB / 456.1 MB, free: 46.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.4116, allocations: 271.3 kB / 456.3 MB, free: 46.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.4118, allocations: 67.89 kB / 456.4 MB, free: 46.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4119, allocations: 355.7 kB / 456.7 MB, free: 46.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.4122, allocations: 156.6 kB / 456.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.4126, allocations: 277.8 kB / 457.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.4132, allocations: 474.6 kB / 457.6 MB, free: 45.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4132, allocations: 2.906 kB / 457.6 MB, free: 45.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000896/0.4141, allocations: 0.5632 MB / 458.2 MB, free: 45.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4142, allocations: 5.562 kB / 458.2 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.4142, allocations: 2.969 kB / 458.2 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.4142, allocations: 6.375 kB / 458.2 MB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.4148, allocations: 183.6 kB / 458.4 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.4148, allocations: 14.05 kB / 458.4 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.4152, allocations: 25 kB / 458.4 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.4152, allocations: 26.81 kB / 458.4 MB, free: 45.77 MB / 382.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.0002471/0.4155, allocations: 178.6 kB / 458.6 MB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4156, allocations: 49.91 kB / 458.7 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.4158, allocations: 53.86 kB / 458.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4158, allocations: 17.06 kB / 458.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.4158, allocations: 0 / 458.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.4158, allocations: 5.828 kB / 458.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.4177, allocations: 1.448 MB / 460.2 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4178, allocations: 2.781 kB / 460.2 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.4183, allocations: 161 kB / 460.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4183, allocations: 6.594 kB / 460.4 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.4184, allocations: 19.73 kB / 460.4 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.4184, allocations: 11.66 kB / 460.4 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4184, allocations: 6.125 kB / 460.4 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.4193, allocations: 0.9045 MB / 461.3 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.4194, allocations: 124.2 kB / 461.4 MB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.4194, allocations: 21.2 kB / 461.4 MB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.4197, allocations: 15.22 kB / 461.5 MB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.4198, allocations: 53.5 kB / 461.5 MB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.4198, allocations: 24.03 kB / 461.5 MB, free: 44.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.4199, allocations: 177.8 kB / 461.7 MB, free: 44.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.42, allocations: 0 / 461.7 MB, free: 44.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.4205, allocations: 144.3 kB / 461.8 MB, free: 44.42 MB / 382.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.0001514/0.4206, allocations: 117.4 kB / 462 MB, free: 44.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006641/0.4213, allocations: 457.8 kB / 462.4 MB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4213, allocations: 0 / 462.4 MB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.4216, allocations: 239.4 kB / 462.6 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4227, allocations: 119.3 kB / 462.8 MB, free: 44.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.4249, allocations: 2.084 MB / 464.8 MB, free: 42.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.4251, allocations: 0.8505 MB / 465.7 MB, free: 42.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.4253, allocations: 61.36 kB / 465.7 MB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.4254, allocations: 41.34 kB / 465.8 MB, free: 42.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4254, allocations: 0 / 465.8 MB, free: 42.16 MB / 382.1 MB Notification: Performance of Templates: time 0.008881/0.4343, allocations: 5.005 MB / 470.8 MB, free: 41.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches