Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001175, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001093/0.001093, allocations: 192.5 kB / 17.2 MB, free: 5.574 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.512/1.512, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2322/0.2322, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.001822/0.001822, allocations: 71.47 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1328, allocations: 57.8 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003368/0.1362, allocations: 1.839 MB / 442.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004532/0.1367, allocations: 147.5 kB / 442.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.1368, allocations: 7.938 kB / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.58e-05/0.1369, allocations: 23.72 kB / 442.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.137, allocations: 51.55 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.1372, allocations: 39.95 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1373, allocations: 187.1 kB / 442.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1375, allocations: 49.53 kB / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.1376, allocations: 71.78 kB / 442.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.1377, allocations: 67.7 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1377, allocations: 23.88 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.789e-05/0.1377, allocations: 12 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.1378, allocations: 31.91 kB / 443.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.1378, allocations: 91.59 kB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.138, allocations: 175.7 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.138, allocations: 0 / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.138, allocations: 0 / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.138, allocations: 4 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004789/0.1385, allocations: 455.2 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1386, allocations: 11.89 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.1386, allocations: 20.73 kB / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1388, allocations: 208 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1388, allocations: 16.7 kB / 444 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.1388, allocations: 16.38 kB / 444 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1391, allocations: 170.2 kB / 444.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1391, allocations: 8.031 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1391, allocations: 11.92 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1391, allocations: 4 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1393, allocations: 87.95 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.1399, allocations: 0.6151 MB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1401, allocations: 133.1 kB / 445.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.1402, allocations: 49.7 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1402, allocations: 4 kB / 445.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.1403, allocations: 34.56 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.1403, allocations: 0 / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006967/0.141, allocations: 377.4 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.141, allocations: 85.05 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.1411, allocations: 129.3 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1411, allocations: 29.7 kB / 445.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.1412, allocations: 132.3 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1412, allocations: 55.2 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1413, allocations: 41.7 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.1413, allocations: 322.8 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.1414, allocations: 39.92 kB / 446.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.327e-05/0.1415, allocations: 106.6 kB / 446.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1416, allocations: 160.6 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1416, allocations: 0 / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002811/0.1419, allocations: 218.9 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1419, allocations: 9.5 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1419, allocations: 4 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.1421, allocations: 49.69 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1423, allocations: 39.92 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.1446, allocations: 2.994 MB / 449.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.1447, allocations: 15.88 kB / 449.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1447, allocations: 15.92 kB / 449.9 MB, free: 12.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.1448, allocations: 130.9 kB / 450.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.1449, allocations: 11.91 kB / 450.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1449, allocations: 20.66 kB / 450.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.145, allocations: 0 / 450.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.145, allocations: 4.062 kB / 450.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.145, allocations: 4 kB / 450.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.1453, allocations: 229.5 kB / 450.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1453, allocations: 0 / 450.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.1455, allocations: 31.98 kB / 450.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.1457, allocations: 45.69 kB / 450.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1457, allocations: 11.88 kB / 450.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.148, allocations: 2.982 MB / 453.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1481, allocations: 0 / 453.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.1485, allocations: 377.5 kB / 453.8 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.1486, allocations: 92.86 kB / 453.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1486, allocations: 4 kB / 453.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1487, allocations: 8 kB / 453.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1487, allocations: 7.984 kB / 453.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1488, allocations: 4 kB / 453.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.7e-05/0.1488, allocations: 103.2 kB / 454 MB, free: 8.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1488, allocations: 0 / 454 MB, free: 8.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.1493, allocations: 59.84 kB / 454 MB, free: 8.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001299/0.1495, allocations: 95.25 kB / 454.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.15, allocations: 357.3 kB / 454.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.15, allocations: 0.5 kB / 454.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.1504, allocations: 289.3 kB / 454.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.1509, allocations: 35.5 kB / 454.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1521, allocations: 0.6321 MB / 455.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1525, allocations: 0.7242 MB / 456.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.1526, allocations: 13.36 kB / 456.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.1526, allocations: 15.44 kB / 456.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1526, allocations: 0 / 456.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of Templates: time 0.005712/0.1583, allocations: 1.925 MB / 458.1 MB, free: 4.168 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches