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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 208.1 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2287/0.2287, allocations: 44.27 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 63.91 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1356, allocations: 61.05 MB / 0.5174 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003256/0.1388, allocations: 1.775 MB / 0.5191 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003593/0.1392, allocations: 147.4 kB / 0.5192 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.1393, allocations: 8 kB / 0.5192 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.427e-05/0.1393, allocations: 15.8 kB / 0.5193 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1395, allocations: 59.48 kB / 0.5193 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.1396, allocations: 35.95 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1398, allocations: 187 kB / 0.5195 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.14, allocations: 41.72 kB / 0.5196 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1401, allocations: 67.78 kB / 0.5196 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1403, allocations: 63.69 kB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.1403, allocations: 16 kB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.255e-05/0.1403, allocations: 16 kB / 0.5197 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1404, allocations: 35.86 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.21e-05/0.1405, allocations: 67.72 kB / 0.5198 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1407, allocations: 183.2 kB / 0.52 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1407, allocations: 0 / 0.52 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1407, allocations: 0 / 0.52 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1407, allocations: 0 / 0.52 GB, free: 3.961 MB / 398.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.0005904/0.1413, allocations: 382 kB / 0.5204 GB, free: 3.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1413, allocations: 8.031 kB / 0.5204 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1414, allocations: 32.73 kB / 0.5204 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1416, allocations: 146.3 kB / 0.5205 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1416, allocations: 8.703 kB / 0.5206 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.1416, allocations: 20.38 kB / 0.5206 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.1419, allocations: 170.1 kB / 0.5207 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.142, allocations: 192 / 0.5207 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.142, allocations: 11.94 kB / 0.5207 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.142, allocations: 4 kB / 0.5207 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1421, allocations: 91.88 kB / 0.5208 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.1429, allocations: 0.5038 MB / 0.5213 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.1431, allocations: 125.2 kB / 0.5214 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.1432, allocations: 45.7 kB / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1432, allocations: 0 / 0.5215 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1433, allocations: 38.56 kB / 0.5215 GB, free: 2.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.1433, allocations: 0 / 0.5215 GB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007176/0.144, allocations: 231.2 kB / 0.5217 GB, free: 2.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.144, allocations: 77.11 kB / 0.5218 GB, free: 1.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1442, allocations: 138 kB / 0.522 GB, free: 1.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1442, allocations: 29.7 kB / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.1443, allocations: 124.2 kB / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.1443, allocations: 63.48 kB / 0.5222 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.1444, allocations: 37.7 kB / 0.5222 GB, free: 1.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1445, allocations: 326.8 kB / 0.5225 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.1446, allocations: 35.98 kB / 0.5225 GB, free: 1.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1447, allocations: 104.4 kB / 0.5226 GB, free: 1.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.1449, allocations: 152.5 kB / 0.5228 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1449, allocations: 4 kB / 0.5228 GB, free: 0.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003636/0.1453, allocations: 226.9 kB / 0.523 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1453, allocations: 4 kB / 0.523 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1453, allocations: 4 kB / 0.523 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.1455, allocations: 45.95 kB / 0.5231 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1457, allocations: 47.86 kB / 0.5231 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.1479, allocations: 2.73 MB / 0.5258 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.148, allocations: 24.25 kB / 0.5258 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.148, allocations: 8.219 kB / 0.5258 GB, free: 13.53 MB / 414.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.0001195/0.1481, allocations: 137.7 kB / 0.5259 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.1482, allocations: 7.953 kB / 0.5259 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.1482, allocations: 16.72 kB / 0.526 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1482, allocations: 7.938 kB / 0.526 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1482, allocations: 0 / 0.526 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1482, allocations: 7.922 kB / 0.526 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1485, allocations: 153.2 kB / 0.5261 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1485, allocations: 0 / 0.5261 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1486, allocations: 31.98 kB / 0.5261 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.1487, allocations: 45.69 kB / 0.5262 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1487, allocations: 0 / 0.5262 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.1509, allocations: 2.737 MB / 0.5289 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1509, allocations: 3.984 kB / 0.5289 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.1513, allocations: 380.2 kB / 0.5292 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.1513, allocations: 7.953 kB / 0.5292 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1513, allocations: 4.062 kB / 0.5292 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.1514, allocations: 0 / 0.5292 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1514, allocations: 15.98 kB / 0.5293 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1515, allocations: 3.984 kB / 0.5293 GB, free: 9.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.1515, allocations: 107 kB / 0.5294 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1515, allocations: 4.094 kB / 0.5294 GB, free: 9.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.152, allocations: 51.95 kB / 0.5294 GB, free: 9.555 MB / 414.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.0001133/0.1521, allocations: 99.25 kB / 0.5295 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.1526, allocations: 345.8 kB / 0.5298 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1526, allocations: 4.125 kB / 0.5298 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.1529, allocations: 281.3 kB / 0.5301 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1534, allocations: 32.3 kB / 0.5301 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1545, allocations: 0.6888 MB / 0.5308 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1546, allocations: 112.1 kB / 0.5309 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.1547, allocations: 15.44 kB / 0.5309 GB, free: 7.875 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1547, allocations: 4 kB / 0.5309 GB, free: 7.871 MB / 414.1 MB Notification: Performance of Templates: time 0.005496/0.1602, allocations: 3.223 MB / 0.5341 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.694555872119963]