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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 101 kB / 18.9 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 193.9 kB / 22.06 MB, free: 268 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2205/0.2205, allocations: 44.26 MB / 329 MB, free: 10.14 MB / 270.1 MB [Timeout remaining time 89] 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=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.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.002167/0.002167, allocations: 79.89 kB / 465.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1317, allocations: 61 MB / 0.5146 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003247/0.135, allocations: 1.859 MB / 0.5164 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.1353, allocations: 151.5 kB / 0.5165 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.1354, allocations: 11.88 kB / 0.5165 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.047e-05/0.1355, allocations: 27.72 kB / 0.5166 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1356, allocations: 47.55 kB / 0.5166 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.1358, allocations: 31.97 kB / 0.5166 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.136, allocations: 187.1 kB / 0.5168 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1361, allocations: 49.5 kB / 0.5169 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.1362, allocations: 63.8 kB / 0.5169 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1364, allocations: 67.7 kB / 0.517 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.1364, allocations: 23.94 kB / 0.517 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.1364, allocations: 16 kB / 0.517 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.1365, allocations: 35.89 kB / 0.5171 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.747e-05/0.1366, allocations: 79.61 kB / 0.5171 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.1368, allocations: 195.2 kB / 0.5173 GB, free: 5.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1368, allocations: 0 / 0.5173 GB, free: 5.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1368, allocations: 0 / 0.5173 GB, free: 5.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1368, allocations: 0 / 0.5173 GB, free: 5.176 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.0006064/0.1374, allocations: 454.8 kB / 0.5178 GB, free: 4.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1375, allocations: 11.89 kB / 0.5178 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.1375, allocations: 24.78 kB / 0.5178 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1378, allocations: 212.1 kB / 0.518 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1378, allocations: 12.7 kB / 0.518 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.1378, allocations: 16.38 kB / 0.518 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1381, allocations: 170.1 kB / 0.5182 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1381, allocations: 4.188 kB / 0.5182 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1382, allocations: 11.94 kB / 0.5182 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1382, allocations: 8 kB / 0.5182 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1383, allocations: 83.95 kB / 0.5183 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.1392, allocations: 0.6151 MB / 0.5189 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1394, allocations: 129.1 kB / 0.519 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.1395, allocations: 53.7 kB / 0.5191 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.1395, allocations: 0 / 0.5191 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1396, allocations: 34.75 kB / 0.5191 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.1396, allocations: 0 / 0.5191 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008263/0.1404, allocations: 385.2 kB / 0.5195 GB, free: 2.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1405, allocations: 81.11 kB / 0.5195 GB, free: 2.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1406, allocations: 126.1 kB / 0.5197 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1406, allocations: 33.7 kB / 0.5197 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.1407, allocations: 136.2 kB / 0.5198 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.1408, allocations: 59.48 kB / 0.5199 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.1408, allocations: 37.7 kB / 0.5199 GB, free: 2.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.141, allocations: 326.8 kB / 0.5202 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.1411, allocations: 35.98 kB / 0.5203 GB, free: 1.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1412, allocations: 100.4 kB / 0.5204 GB, free: 1.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1414, allocations: 160.4 kB / 0.5205 GB, free: 1.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1414, allocations: 0 / 0.5205 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003873/0.1418, allocations: 231.1 kB / 0.5207 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1418, allocations: 4 kB / 0.5207 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1418, allocations: 4 kB / 0.5207 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.142, allocations: 49.69 kB / 0.5208 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1422, allocations: 35.92 kB / 0.5208 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.1447, allocations: 2.982 MB / 0.5237 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/0.1448, allocations: 19.84 kB / 0.5238 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.1448, allocations: 20.08 kB / 0.5238 GB, free: 13.91 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.0001309/0.145, allocations: 133.7 kB / 0.5239 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.145, allocations: 12.42 kB / 0.5239 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.1451, allocations: 20.66 kB / 0.5239 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1451, allocations: 0 / 0.5239 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1451, allocations: 4 kB / 0.5239 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1451, allocations: 0 / 0.5239 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.1454, allocations: 241.5 kB / 0.5242 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1454, allocations: 0 / 0.5242 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1456, allocations: 27.98 kB / 0.5242 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.1457, allocations: 49.62 kB / 0.5242 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1457, allocations: 11.94 kB / 0.5242 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.148, allocations: 2.97 MB / 0.5271 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.148, allocations: 0 / 0.5271 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.1484, allocations: 376.5 kB / 0.5275 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.1485, allocations: 85.06 kB / 0.5276 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1485, allocations: 4.062 kB / 0.5276 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1486, allocations: 12.06 kB / 0.5276 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.1487, allocations: 12.08 kB / 0.5276 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1487, allocations: 7.984 kB / 0.5276 GB, free: 9.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.408e-05/0.1487, allocations: 111 kB / 0.5277 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 0 / 0.5277 GB, free: 9.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.1492, allocations: 55.89 kB / 0.5278 GB, free: 9.414 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.0001245/0.1493, allocations: 99.19 kB / 0.5279 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005714/0.1499, allocations: 345.4 kB / 0.5282 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1499, allocations: 0 / 0.5282 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.1502, allocations: 285.3 kB / 0.5285 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.1507, allocations: 25.7 kB / 0.5285 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1519, allocations: 0.6724 MB / 0.5292 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1523, allocations: 0.7242 MB / 0.5299 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.1523, allocations: 19.38 kB / 0.5299 GB, free: 7.141 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1523, allocations: 3.938 kB / 0.5299 GB, free: 7.137 MB / 414.1 MB Notification: Performance of Templates: time 0.005691/0.158, allocations: 3.154 MB / 0.533 GB, free: 3.98 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