Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 110 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 188.4 kB / 22.98 MB, free: 5.016 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.525/1.525, allocations: 207.6 MB / 233.7 MB, free: 10.02 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.2378/0.2378, allocations: 44.24 MB / 330.2 MB, free: 9.551 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.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.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [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.002324/0.002324, allocations: 76.98 kB / 467.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1358, allocations: 61.04 MB / 0.5166 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.004202/0.14, allocations: 1.934 MB / 0.5185 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.141, allocations: 0.5425 MB / 0.519 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1411, allocations: 7.938 kB / 0.519 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.1413, allocations: 19.8 kB / 0.519 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1414, allocations: 43.62 kB / 0.5191 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1416, allocations: 39.91 kB / 0.5191 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1418, allocations: 147.4 kB / 0.5192 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.142, allocations: 49.78 kB / 0.5193 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1421, allocations: 63.7 kB / 0.5193 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1423, allocations: 67.7 kB / 0.5194 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.1423, allocations: 12 kB / 0.5194 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.1423, allocations: 12 kB / 0.5194 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1424, allocations: 23.92 kB / 0.5194 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.1425, allocations: 71.61 kB / 0.5195 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1427, allocations: 151.3 kB / 0.5197 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1427, allocations: 4 kB / 0.5197 GB, free: 3.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1427, allocations: 4 kB / 0.5197 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1427, allocations: 0 / 0.5197 GB, free: 3.688 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006282/0.1433, allocations: 353.8 kB / 0.52 GB, free: 3.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1434, allocations: 12.03 kB / 0.52 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1434, allocations: 16.84 kB / 0.52 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1437, allocations: 142.3 kB / 0.5202 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1437, allocations: 12.38 kB / 0.5202 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.1437, allocations: 16.33 kB / 0.5202 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.144, allocations: 133.7 kB / 0.5203 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1441, allocations: 7.922 kB / 0.5203 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1441, allocations: 4 kB / 0.5203 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1441, allocations: 4 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.1443, allocations: 87.88 kB / 0.5204 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.1451, allocations: 427.5 kB / 0.5208 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1453, allocations: 114.4 kB / 0.5209 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1454, allocations: 52.83 kB / 0.521 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1454, allocations: 4 kB / 0.521 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1455, allocations: 30.56 kB / 0.521 GB, free: 2.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1455, allocations: 4 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001519/0.147, allocations: 0.66 MB / 0.5217 GB, free: 1.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.147, allocations: 55.41 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1472, allocations: 141.6 kB / 0.5219 GB, free: 1.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1472, allocations: 33.64 kB / 0.5219 GB, free: 1.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.1473, allocations: 116.4 kB / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.1474, allocations: 71.39 kB / 0.5221 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.1475, allocations: 37.7 kB / 0.5221 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1476, allocations: 322.8 kB / 0.5224 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1477, allocations: 39.98 kB / 0.5225 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1478, allocations: 83.34 kB / 0.5225 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.1481, allocations: 131.3 kB / 0.5227 GB, free: 380 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1481, allocations: 0 / 0.5227 GB, free: 380 kB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004201/0.1485, allocations: 210.3 kB / 0.5229 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.1485, allocations: 11.92 kB / 0.5229 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1485, allocations: 4 kB / 0.5229 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.1488, allocations: 36.84 kB / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.149, allocations: 35.97 kB / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.1507, allocations: 1.637 MB / 0.5245 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.1508, allocations: 8 kB / 0.5245 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1508, allocations: 12.05 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.1509, allocations: 125.8 kB / 0.5247 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.151, allocations: 7.953 kB / 0.5247 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.151, allocations: 25.11 kB / 0.5247 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.151, allocations: 3.938 kB / 0.5247 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.151, allocations: 4.25 kB / 0.5247 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.151, allocations: 0 / 0.5247 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.1519, allocations: 0.5157 MB / 0.5252 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1519, allocations: 3.984 kB / 0.5252 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.152, allocations: 35.92 kB / 0.5253 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.1521, allocations: 28.84 kB / 0.5253 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1522, allocations: 11.92 kB / 0.5253 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.1534, allocations: 1.373 MB / 0.5266 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1534, allocations: 8.094 kB / 0.5267 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.154, allocations: 348.9 kB / 0.527 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.154, allocations: 7.984 kB / 0.527 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.154, allocations: 4 kB / 0.527 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.821e-05/0.1541, allocations: 7.984 kB / 0.527 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.1542, allocations: 27.97 kB / 0.527 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1542, allocations: 4 kB / 0.527 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.1543, allocations: 105.8 kB / 0.5271 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1543, allocations: 0 / 0.5271 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003417/0.1546, allocations: 40 kB / 0.5272 GB, free: 11.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001204/0.1547, allocations: 99.12 kB / 0.5273 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.1553, allocations: 270.7 kB / 0.5275 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1553, allocations: 0 / 0.5275 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.1556, allocations: 192.4 kB / 0.5277 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.156, allocations: 19.98 kB / 0.5277 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.1569, allocations: 441.6 kB / 0.5281 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1572, allocations: 0.7205 MB / 0.5289 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.1573, allocations: 21.41 kB / 0.5289 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1573, allocations: 15.44 kB / 0.5289 GB, free: 9.57 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1574, allocations: 0 / 0.5289 GB, free: 9.57 MB / 414.1 MB Notification: Performance of Templates: time 0.006045/0.1634, allocations: 1.731 MB / 0.5306 GB, free: 7.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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: 5.315569471567869]