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.001149/0.001149, allocations: 95.34 kB / 15.68 MB, free: 488 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.001093/0.001093, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.513/1.513, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4074/0.4074, allocations: 43.55 MB / 314.5 MB, free: 9.074 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.0005375/0.0005376, allocations: 16 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1465, allocations: 58.86 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002325/0.1489, allocations: 1.452 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004794/0.1494, allocations: 167.5 kB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1495, allocations: 4 kB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.1496, allocations: 11.86 kB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1498, allocations: 55.88 kB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.1499, allocations: 27.95 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1502, allocations: 131.7 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1503, allocations: 49.83 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.1504, allocations: 51.8 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1505, allocations: 63.75 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1506, allocations: 8 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.717e-05/0.1506, allocations: 12 kB / 444.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.1506, allocations: 27.86 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1508, allocations: 53.64 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1509, allocations: 127.9 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1509, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1509, allocations: 4 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.151, allocations: 0 / 445 MB, free: 11.07 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005919/0.1516, allocations: 435.1 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1516, allocations: 8.031 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.1517, allocations: 19.77 kB / 445.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1519, allocations: 206.8 kB / 445.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.152, allocations: 16.33 kB / 445.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.152, allocations: 20 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.1523, allocations: 165.6 kB / 445.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1524, allocations: 3.906 kB / 445.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1524, allocations: 11.98 kB / 445.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1524, allocations: 4 kB / 445.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1526, allocations: 95.83 kB / 445.9 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.1535, allocations: 0.6073 MB / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.1537, allocations: 137.1 kB / 446.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1537, allocations: 192 / 446.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1537, allocations: 38.5 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.1538, allocations: 0 / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007673/0.1545, allocations: 381.2 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1546, allocations: 81.11 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1547, allocations: 130.1 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1547, allocations: 29.7 kB / 447.3 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.1548, allocations: 136 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.1549, allocations: 51.2 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.1549, allocations: 8 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.155, allocations: 322.8 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.1551, allocations: 35.98 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1552, allocations: 108.5 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/0.1553, allocations: 44 kB / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1553, allocations: 0 / 448 MB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003586/0.1557, allocations: 227.2 kB / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1557, allocations: 7.953 kB / 448.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1557, allocations: 7.984 kB / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.1559, allocations: 45.95 kB / 448.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1561, allocations: 39.92 kB / 448.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.1582, allocations: 2.728 MB / 451.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.1582, allocations: 20.19 kB / 451.1 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1583, allocations: 12 kB / 451.1 MB, free: 4.336 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.1584, allocations: 141.6 kB / 451.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.1584, allocations: 15.81 kB / 451.2 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.1585, allocations: 16.7 kB / 451.3 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1585, allocations: 4 kB / 451.3 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1585, allocations: 480 / 451.3 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1585, allocations: 0 / 451.3 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.1588, allocations: 237.5 kB / 451.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1588, allocations: 0 / 451.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.159, allocations: 27.98 kB / 451.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.1591, allocations: 45.64 kB / 451.6 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1591, allocations: 4 kB / 451.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.1611, allocations: 2.732 MB / 454.3 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1611, allocations: 0 / 454.3 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.1615, allocations: 390.2 kB / 454.7 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1615, allocations: 85.08 kB / 454.8 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1616, allocations: 11.98 kB / 454.8 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.1617, allocations: 0 / 454.8 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.1617, allocations: 11.98 kB / 454.8 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1617, allocations: 4 kB / 454.8 MB, free: 260 kB / 382.1 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.1618, allocations: 106.9 kB / 454.9 MB, free: 156 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1618, allocations: 4 kB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.1622, allocations: 51.91 kB / 455 MB, free: 100 kB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.233/0.3953, allocations: 95.25 kB / 455.1 MB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007571/0.3961, allocations: 345.2 kB / 455.4 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3961, allocations: 2.594 kB / 455.4 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.3963, allocations: 281.4 kB / 455.7 MB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.3968, allocations: 23.36 kB / 455.7 MB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.3977, allocations: 0.7802 MB / 456.5 MB, free: 45.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3979, allocations: 0.7314 MB / 457.2 MB, free: 44.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.436e-05/0.3979, allocations: 19.56 kB / 457.2 MB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.398, allocations: 12.69 kB / 457.2 MB, free: 44.72 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.398, allocations: 0 / 457.2 MB, free: 44.72 MB / 382.1 MB Notification: Performance of Templates: time 0.003945/0.4019, allocations: 1.757 MB / 459 MB, free: 44.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches