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.001398/0.001399, allocations: 112.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 195 kB / 17.97 MB, free: 5.027 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.597/1.597, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2449/0.2449, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 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.001586/0.001586, allocations: 68.66 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1223, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003922/0.1263, allocations: 3.261 MB / 445.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1277, allocations: 0.8421 MB / 446.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1279, allocations: 11.94 kB / 446.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1281, allocations: 71.25 kB / 446.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1284, allocations: 174.5 kB / 446.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1286, allocations: 111.8 kB / 446.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1289, allocations: 0.5909 MB / 447 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.1291, allocations: 177.3 kB / 447.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1293, allocations: 219.2 kB / 447.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1295, allocations: 239 kB / 447.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.1296, allocations: 40 kB / 447.7 MB, free: 432 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.415e-05/0.1296, allocations: 44 kB / 447.7 MB, free: 388 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.1297, allocations: 103.7 kB / 447.8 MB, free: 284 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1298, allocations: 270.7 kB / 448.1 MB, free: 12 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.1304, allocations: 0.5488 MB / 448.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1304, allocations: 0 / 448.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1304, allocations: 3.938 kB / 448.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1304, allocations: 4 kB / 448.6 MB, free: 15.45 MB / 334.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.001129/0.1316, allocations: 0.7601 MB / 449.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1316, allocations: 11.89 kB / 449.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/0.1317, allocations: 60.28 kB / 449.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1321, allocations: 318.4 kB / 449.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1322, allocations: 37.38 kB / 449.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.1323, allocations: 60.27 kB / 449.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.1329, allocations: 438.9 kB / 450.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.1329, allocations: 11.89 kB / 450.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.133, allocations: 20 kB / 450.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.133, allocations: 16 kB / 450.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.1335, allocations: 317.8 kB / 450.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.135, allocations: 1.134 MB / 451.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.1357, allocations: 489.1 kB / 452.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.136, allocations: 223.7 kB / 452.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1361, allocations: 4.438 kB / 452.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1361, allocations: 39 kB / 452.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 1.683e-06/0.1361, allocations: 224 / 452.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.002799/0.1389, allocations: 2.143 MB / 454.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.139, allocations: 89.67 kB / 454.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1392, allocations: 255 kB / 455 MB, free: 8.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1393, allocations: 37.7 kB / 455.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1394, allocations: 209 kB / 455.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.1396, allocations: 272 kB / 455.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1397, allocations: 114.7 kB / 455.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1399, allocations: 358.7 kB / 456 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1401, allocations: 157.9 kB / 456.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1404, allocations: 280.8 kB / 456.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/0.1411, allocations: 470.9 kB / 456.9 MB, free: 6.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1411, allocations: 4 kB / 456.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007805/0.1419, allocations: 0.5629 MB / 457.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1419, allocations: 4 kB / 457.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1419, allocations: 7.938 kB / 457.5 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.142, allocations: 8 kB / 457.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.1425, allocations: 184 kB / 457.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1425, allocations: 8 kB / 457.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.1428, allocations: 24 kB / 457.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1428, allocations: 23.94 kB / 457.7 MB, free: 5.883 MB / 334.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.0001791/0.143, allocations: 185.6 kB / 457.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.1431, allocations: 47.44 kB / 457.9 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1432, allocations: 55.64 kB / 458 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1433, allocations: 8 kB / 458 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1433, allocations: 8 kB / 458 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1433, allocations: 3.984 kB / 458 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.145, allocations: 1.437 MB / 459.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.1451, allocations: 4 kB / 459.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/0.1457, allocations: 163.8 kB / 459.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.1457, allocations: 4.344 kB / 459.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.1457, allocations: 23.94 kB / 459.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.1457, allocations: 11.94 kB / 459.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1458, allocations: 0 / 459.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.147, allocations: 0.9155 MB / 460.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1472, allocations: 108.6 kB / 460.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.1472, allocations: 31.92 kB / 460.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.1475, allocations: 16 kB / 460.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.1476, allocations: 52.31 kB / 460.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1476, allocations: 20 kB / 460.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1478, allocations: 181.9 kB / 461 MB, free: 2.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1478, allocations: 0 / 461 MB, free: 2.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000501/0.1483, allocations: 148 kB / 461.1 MB, free: 2.293 MB / 334.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.0001636/0.1484, allocations: 127 kB / 461.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007192/0.1492, allocations: 455.6 kB / 461.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1492, allocations: 4 kB / 461.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.1495, allocations: 243.1 kB / 461.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.1503, allocations: 128.1 kB / 462 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.153, allocations: 1.649 MB / 463.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.1536, allocations: 0.8524 MB / 464.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.1539, allocations: 60.66 kB / 464.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.154, allocations: 39.44 kB / 464.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.234e-06/0.154, allocations: 0 / 464.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Templates: time 0.01057/0.1646, allocations: 5.294 MB / 469.9 MB, free: 9.414 MB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches