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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 105.8 kB / 15.98 MB, free: 6.332 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.002201/0.002201, allocations: 198 kB / 16.91 MB, free: 6.18 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.568/1.568, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3383/0.3383, allocations: 43.5 MB / 313.6 MB, free: 8.48 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.001476/0.001476, allocations: 59.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1595, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003846/0.1634, allocations: 1.914 MB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004769/0.1639, allocations: 147.5 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1641, allocations: 0 / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.292e-05/0.1642, allocations: 19.86 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1644, allocations: 47.61 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1646, allocations: 27.98 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1648, allocations: 175.2 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.165, allocations: 69.48 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1652, allocations: 67.73 kB / 442.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1653, allocations: 79.62 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.1653, allocations: 12 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.1654, allocations: 20 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.1654, allocations: 27.92 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1655, allocations: 87.59 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1658, allocations: 183.6 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1658, allocations: 0 / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1658, allocations: 0 / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1658, allocations: 0 / 443 MB, free: 11.77 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.0006922/0.1665, allocations: 459.2 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.1666, allocations: 15.89 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1667, allocations: 50.73 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.1667, allocations: 20.73 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.167, allocations: 204.1 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.167, allocations: 12.7 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.1671, allocations: 20.36 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.1674, allocations: 166.1 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.1674, allocations: 11.78 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1674, allocations: 11.98 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1675, allocations: 8 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.1676, allocations: 87.89 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.1686, allocations: 0.611 MB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1688, allocations: 133.2 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.1689, allocations: 45.7 kB / 444.8 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1689, allocations: 4 kB / 444.8 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1689, allocations: 42.55 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1689, allocations: 0 / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007955/0.1697, allocations: 381.4 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1698, allocations: 81.05 kB / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1699, allocations: 133.9 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1699, allocations: 29.7 kB / 445.4 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.17, allocations: 132 kB / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.1701, allocations: 59.19 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.1702, allocations: 33.72 kB / 445.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1703, allocations: 322.8 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.1704, allocations: 39.98 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1705, allocations: 112.4 kB / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1707, allocations: 156.4 kB / 446.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1707, allocations: 384 / 446.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003577/0.171, allocations: 226.9 kB / 446.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1711, allocations: 7.984 kB / 446.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1711, allocations: 4 kB / 446.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.1713, allocations: 49.95 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1715, allocations: 35.92 kB / 446.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.1736, allocations: 2.994 MB / 449.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.1737, allocations: 19.88 kB / 449.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1737, allocations: 4 kB / 449.6 MB, free: 4.438 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 (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.0001128/0.1739, allocations: 133.9 kB / 449.7 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.1739, allocations: 11.91 kB / 449.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.174, allocations: 20.64 kB / 449.8 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.174, allocations: 4 kB / 449.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.174, allocations: 0 / 449.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.174, allocations: 4 kB / 449.8 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.1743, allocations: 233.5 kB / 450 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1743, allocations: 0 / 450 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1744, allocations: 31.98 kB / 450 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.1746, allocations: 41.7 kB / 450.1 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1746, allocations: 7.875 kB / 450.1 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.1768, allocations: 2.982 MB / 453.1 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1768, allocations: 4.156 kB / 453.1 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.1772, allocations: 372.2 kB / 453.4 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.1773, allocations: 92.86 kB / 453.5 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1773, allocations: 8.062 kB / 453.5 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1774, allocations: 3.938 kB / 453.5 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1775, allocations: 15.98 kB / 453.6 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1775, allocations: 4 kB / 453.6 MB, free: 108 kB / 382.1 MB Notification: Performance of sorting global known variables: time 6.297e-05/0.1776, allocations: 95.27 kB / 453.7 MB, free: 12 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 0 / 453.7 MB, free: 12 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2407/0.4183, allocations: 55.53 kB / 453.7 MB, free: 48.59 MB / 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 (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.0007374/0.4191, allocations: 0.8975 MB / 454.6 MB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.4198, allocations: 358.8 kB / 455 MB, free: 47.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4198, allocations: 5.344 kB / 455 MB, free: 47.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.4201, allocations: 286.9 kB / 455.2 MB, free: 47.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.4208, allocations: 25.69 kB / 455.3 MB, free: 47.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.4235, allocations: 2.384 MB / 457.7 MB, free: 45.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.4237, allocations: 0.7217 MB / 458.4 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.4237, allocations: 14.72 kB / 458.4 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.4238, allocations: 39.67 kB / 458.4 MB, free: 45.01 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4238, allocations: 0 / 458.4 MB, free: 45.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.4429, allocations: 3.612 MB / 462 MB, free: 44.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.4431, allocations: 249.8 kB / 462.3 MB, free: 44.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.329, allocations: 0 / 462.3 MB, free: 44.28 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/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