Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.001803/0.001803, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.002212/0.002212, allocations: 211.4 kB / 23.74 MB, free: 4.445 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.445/1.445, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2475/0.2475, allocations: 44.26 MB / 331.1 MB, free: 9.305 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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") [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.002486/0.002486, allocations: 72.45 kB / 468.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1307, allocations: 61.05 MB / 0.5174 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004639/0.1353, allocations: 2.463 MB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1368, allocations: 0.6593 MB / 0.5204 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.137, allocations: 7.938 kB / 0.5204 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1372, allocations: 47.52 kB / 0.5205 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1375, allocations: 91.2 kB / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1378, allocations: 79.89 kB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.1383, allocations: 334.5 kB / 0.5209 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1385, allocations: 65.91 kB / 0.521 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.1387, allocations: 127.5 kB / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1389, allocations: 119.4 kB / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1389, allocations: 20 kB / 0.5213 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.139, allocations: 28 kB / 0.5213 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1391, allocations: 63.7 kB / 0.5213 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1392, allocations: 119.4 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.1396, allocations: 302.7 kB / 0.5217 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1396, allocations: 0 / 0.5217 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1396, allocations: 0 / 0.5217 GB, free: 2.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1396, allocations: 0 / 0.5217 GB, free: 2.164 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009986/0.1406, allocations: 0.5207 MB / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1406, allocations: 12.03 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.1407, allocations: 32.75 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.1411, allocations: 202 kB / 0.5225 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1411, allocations: 24.81 kB / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.1412, allocations: 36.31 kB / 0.5226 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.1417, allocations: 277.5 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1417, allocations: 8 kB / 0.5228 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1417, allocations: 11.94 kB / 0.5228 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1418, allocations: 8 kB / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.1422, allocations: 175.8 kB / 0.523 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.144, allocations: 1.157 MB / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.1445, allocations: 238.3 kB / 0.5244 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1447, allocations: 91.39 kB / 0.5245 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1447, allocations: 4 kB / 0.5245 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1447, allocations: 42.69 kB / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.1447, allocations: 4 kB / 0.5245 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002599/0.1473, allocations: 1.206 MB / 0.5257 GB, free: 13.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.1474, allocations: 132.5 kB / 0.5258 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1477, allocations: 233 kB / 0.526 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1477, allocations: 29.7 kB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1479, allocations: 180.5 kB / 0.5262 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.148, allocations: 119 kB / 0.5263 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1481, allocations: 74.08 kB / 0.5264 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1483, allocations: 342.8 kB / 0.5267 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.1485, allocations: 100.8 kB / 0.5268 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.1489, allocations: 233.4 kB / 0.5271 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.1496, allocations: 369.1 kB / 0.5274 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1496, allocations: 4 kB / 0.5274 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007872/0.1504, allocations: 397 kB / 0.5278 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1504, allocations: 7.984 kB / 0.5278 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1504, allocations: 8 kB / 0.5278 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.1504, allocations: 4 kB / 0.5278 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.1508, allocations: 99.88 kB / 0.5279 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.1508, allocations: 11.94 kB / 0.5279 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.151, allocations: 27.92 kB / 0.5279 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.1511, allocations: 21 kB / 0.528 GB, free: 11.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.1512, allocations: 153.7 kB / 0.5281 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1513, allocations: 35.75 kB / 0.5281 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.1514, allocations: 33.92 kB / 0.5282 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1514, allocations: 4.234 kB / 0.5282 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.1514, allocations: 4 kB / 0.5282 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1514, allocations: 3.938 kB / 0.5282 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.1529, allocations: 0.8761 MB / 0.529 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1529, allocations: 4 kB / 0.5291 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.1533, allocations: 75.88 kB / 0.5291 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1533, allocations: 4 kB / 0.5291 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.1533, allocations: 12 kB / 0.5291 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1533, allocations: 4 kB / 0.5291 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1533, allocations: 11.94 kB / 0.5292 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1544, allocations: 0.7291 MB / 0.5299 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1545, allocations: 27.75 kB / 0.5299 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.1545, allocations: 8.062 kB / 0.5299 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.1548, allocations: 27.97 kB / 0.5299 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.1549, allocations: 35.83 kB / 0.53 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1549, allocations: 8 kB / 0.53 GB, free: 9.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1551, allocations: 156.5 kB / 0.5301 GB, free: 8.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1551, allocations: 0 / 0.5301 GB, free: 8.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.1555, allocations: 68 kB / 0.5302 GB, free: 8.922 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.1557, allocations: 103.2 kB / 0.5303 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.1563, allocations: 255.9 kB / 0.5305 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1563, allocations: 0 / 0.5305 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.1566, allocations: 137.2 kB / 0.5307 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.1573, allocations: 44.69 kB / 0.5307 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1588, allocations: 0.9134 MB / 0.5316 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.159, allocations: 168 kB / 0.5318 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.1591, allocations: 35.42 kB / 0.5318 GB, free: 7.199 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1591, allocations: 0 / 0.5318 GB, free: 7.199 MB / 414.1 MB Notification: Performance of Templates: time 0.006135/0.1652, allocations: 3.488 MB / 0.5352 GB, free: 3.711 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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: 7.774085065815598]