Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001796/0.001796, allocations: 104.3 kB / 20.45 MB, free: 1.406 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.002281/0.002281, allocations: 212.1 kB / 23.74 MB, free: 4.57 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.448/1.448, allocations: 207.7 MB / 234.6 MB, free: 9.82 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.2237/0.2237, allocations: 44.27 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [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.002569/0.002569, allocations: 66.72 kB / 468.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1288, allocations: 61.06 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003734/0.1325, allocations: 1.6 MB / 0.5189 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004326/0.133, allocations: 107.6 kB / 0.519 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1331, allocations: 7.938 kB / 0.519 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.463e-05/0.1331, allocations: 15.86 kB / 0.5191 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1333, allocations: 35.69 kB / 0.5191 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1335, allocations: 23.98 kB / 0.5191 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1337, allocations: 135.4 kB / 0.5192 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1339, allocations: 25.28 kB / 0.5193 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.134, allocations: 51.8 kB / 0.5193 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1341, allocations: 43.77 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1341, allocations: 8 kB / 0.5194 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.024e-05/0.1342, allocations: 12 kB / 0.5194 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.1342, allocations: 23.92 kB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.1343, allocations: 47.8 kB / 0.5194 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1345, allocations: 131.4 kB / 0.5196 GB, free: 4.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1345, allocations: 0 / 0.5196 GB, free: 4.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1345, allocations: 4 kB / 0.5196 GB, free: 4.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1345, allocations: 0 / 0.5196 GB, free: 4.406 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005658/0.1351, allocations: 326.2 kB / 0.5199 GB, free: 4.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1351, allocations: 12.03 kB / 0.5199 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.1352, allocations: 12.84 kB / 0.5199 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1354, allocations: 134.4 kB / 0.52 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1354, allocations: 8.609 kB / 0.52 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.1354, allocations: 16.33 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1357, allocations: 133.5 kB / 0.5202 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1357, allocations: 8.188 kB / 0.5202 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1357, allocations: 11.88 kB / 0.5202 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1357, allocations: 4 kB / 0.5202 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1358, allocations: 55.97 kB / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.1366, allocations: 452.1 kB / 0.5207 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1368, allocations: 77.14 kB / 0.5208 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.1368, allocations: 29.83 kB / 0.5208 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1369, allocations: 0 / 0.5208 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1369, allocations: 38.5 kB / 0.5208 GB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1369, allocations: 4 kB / 0.5208 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005633/0.1375, allocations: 151.2 kB / 0.521 GB, free: 2.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.1375, allocations: 77.11 kB / 0.5211 GB, free: 2.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1377, allocations: 121.8 kB / 0.5212 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1377, allocations: 25.7 kB / 0.5212 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.1378, allocations: 123.7 kB / 0.5213 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1378, allocations: 35.72 kB / 0.5213 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.1379, allocations: 33.67 kB / 0.5214 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.138, allocations: 338.6 kB / 0.5217 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.1381, allocations: 27.98 kB / 0.5217 GB, free: 1.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.1382, allocations: 84.58 kB / 0.5218 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1383, allocations: 116.5 kB / 0.5219 GB, free: 1.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1383, allocations: 8 kB / 0.5219 GB, free: 1.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002909/0.1386, allocations: 159.1 kB / 0.5221 GB, free: 1.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1386, allocations: 8 kB / 0.5221 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1386, allocations: 0 / 0.5221 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.1389, allocations: 37.7 kB / 0.5221 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.1389, allocations: 31.86 kB / 0.5222 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.1412, allocations: 2.482 MB / 0.5246 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.1412, allocations: 15.86 kB / 0.5246 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1413, allocations: 8.312 kB / 0.5246 GB, free: 14.77 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1414, allocations: 125.8 kB / 0.5247 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.1414, allocations: 7.953 kB / 0.5247 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.1415, allocations: 12 kB / 0.5247 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1415, allocations: 0 / 0.5247 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.1415, allocations: 4 kB / 0.5247 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1415, allocations: 3.938 kB / 0.5247 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1417, allocations: 133.3 kB / 0.5249 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1417, allocations: 0 / 0.5249 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.1418, allocations: 23.92 kB / 0.5249 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.1419, allocations: 33.7 kB / 0.5249 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1419, allocations: 0 / 0.5249 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.144, allocations: 2.493 MB / 0.5274 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.144, allocations: 3.938 kB / 0.5274 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1443, allocations: 308.4 kB / 0.5277 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.1443, allocations: 7.953 kB / 0.5277 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1444, allocations: 0 / 0.5277 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1445, allocations: 7.938 kB / 0.5277 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1445, allocations: 12.02 kB / 0.5277 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1445, allocations: 4 kB / 0.5277 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.855e-05/0.1446, allocations: 91.22 kB / 0.5278 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1446, allocations: 0 / 0.5278 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.145, allocations: 40.03 kB / 0.5278 GB, free: 11.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.1451, allocations: 103.2 kB / 0.5279 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.1456, allocations: 297.2 kB / 0.5282 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1456, allocations: 0.5 kB / 0.5282 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.1459, allocations: 261.3 kB / 0.5284 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.1464, allocations: 23.98 kB / 0.5285 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000939/0.1474, allocations: 499.4 kB / 0.5289 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.1475, allocations: 97.61 kB / 0.529 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.1475, allocations: 15.44 kB / 0.5291 GB, free: 9.812 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1475, allocations: 0 / 0.5291 GB, free: 9.812 MB / 414.1 MB Notification: Performance of Templates: time 0.005345/0.1529, allocations: 2.493 MB / 0.5315 GB, free: 7.316 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.410195134114474]