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.001836/0.001836, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.002396/0.002396, allocations: 166.5 kB / 23.76 MB, free: 4.461 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.544/1.544, allocations: 158.6 MB / 185.5 MB, free: 6.207 MB / 174.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.2151/0.2151, allocations: 32.38 MB / 270.1 MB, free: 2.695 MB / 254.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.002567/0.002567, allocations: 71.89 kB / 407.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1262, allocations: 61.05 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00448/0.1306, allocations: 2.451 MB / 471.2 MB, free: 5.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1321, allocations: 0.6668 MB / 471.9 MB, free: 5.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.1322, allocations: 11.88 kB / 471.9 MB, free: 5.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.1324, allocations: 43.53 kB / 472 MB, free: 5.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1326, allocations: 87.2 kB / 472 MB, free: 5.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1329, allocations: 91.81 kB / 472.1 MB, free: 4.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.1333, allocations: 330.6 kB / 472.5 MB, free: 4.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1335, allocations: 62.12 kB / 472.5 MB, free: 4.555 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.1337, allocations: 127.5 kB / 472.6 MB, free: 4.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1339, allocations: 119.4 kB / 472.8 MB, free: 4.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.1339, allocations: 20 kB / 472.8 MB, free: 4.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.713e-05/0.134, allocations: 24 kB / 472.8 MB, free: 4.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.134, allocations: 55.78 kB / 472.9 MB, free: 4.215 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1342, allocations: 115.4 kB / 473 MB, free: 4.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.1346, allocations: 310.6 kB / 473.3 MB, free: 3.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1346, allocations: 4 kB / 473.3 MB, free: 3.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1346, allocations: 0 / 473.3 MB, free: 3.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1346, allocations: 0 / 473.3 MB, free: 3.793 MB / 446.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.0009534/0.1356, allocations: 0.5168 MB / 473.8 MB, free: 3.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1356, allocations: 12.03 kB / 473.8 MB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.1357, allocations: 32.75 kB / 473.8 MB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.136, allocations: 213.9 kB / 474 MB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.136, allocations: 20.88 kB / 474.1 MB, free: 2.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.1361, allocations: 28.33 kB / 474.1 MB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.1366, allocations: 273.5 kB / 474.4 MB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.1366, allocations: 11.92 kB / 474.4 MB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1366, allocations: 12 kB / 474.4 MB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1366, allocations: 8 kB / 474.4 MB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.1371, allocations: 183.8 kB / 474.6 MB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.1387, allocations: 1.146 MB / 475.7 MB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.1391, allocations: 246.4 kB / 476 MB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.1393, allocations: 91.39 kB / 476 MB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1394, allocations: 8.125 kB / 476 MB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1394, allocations: 42.55 kB / 476.1 MB, free: 0.7539 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.1394, allocations: 0 / 476.1 MB, free: 0.7539 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.2488/0.3882, allocations: 1.204 MB / 477.3 MB, free: 49.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.3883, allocations: 134.7 kB / 477.4 MB, free: 49.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.3885, allocations: 226.6 kB / 477.6 MB, free: 49.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3886, allocations: 30.61 kB / 477.7 MB, free: 49.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3887, allocations: 178.3 kB / 477.9 MB, free: 49.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.3888, allocations: 129.9 kB / 478 MB, free: 49.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.3889, allocations: 72.36 kB / 478 MB, free: 49.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.389, allocations: 338.7 kB / 478.4 MB, free: 49.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.3894, allocations: 99.06 kB / 478.5 MB, free: 49.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.3898, allocations: 235.2 kB / 478.7 MB, free: 48.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.3907, allocations: 377.9 kB / 479.1 MB, free: 48.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3907, allocations: 3 kB / 479.1 MB, free: 48.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009729/0.3917, allocations: 396.3 kB / 479.5 MB, free: 48.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3917, allocations: 7.156 kB / 479.5 MB, free: 48.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3917, allocations: 6.188 kB / 479.5 MB, free: 48.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.3917, allocations: 9.375 kB / 479.5 MB, free: 48.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.3923, allocations: 104.3 kB / 479.6 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.3923, allocations: 6.062 kB / 479.6 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.3926, allocations: 22.95 kB / 479.6 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.3926, allocations: 22.2 kB / 479.6 MB, free: 48.75 MB / 446.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.0001502/0.3928, allocations: 153.2 kB / 479.8 MB, free: 48.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.393, allocations: 32 kB / 479.8 MB, free: 48.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.393, allocations: 37.98 kB / 479.9 MB, free: 48.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3931, allocations: 6.094 kB / 479.9 MB, free: 48.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3931, allocations: 0 / 479.9 MB, free: 48.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3931, allocations: 0.5469 kB / 479.9 MB, free: 48.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3948, allocations: 0.882 MB / 480.7 MB, free: 48.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3948, allocations: 3.156 kB / 480.7 MB, free: 48.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.3953, allocations: 80.91 kB / 480.8 MB, free: 48.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3953, allocations: 3.281 kB / 480.8 MB, free: 48.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.3954, allocations: 10.22 kB / 480.8 MB, free: 48.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3954, allocations: 3.031 kB / 480.8 MB, free: 48.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3954, allocations: 3.688 kB / 480.8 MB, free: 48.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3964, allocations: 0.7422 MB / 481.6 MB, free: 47.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.3965, allocations: 25.16 kB / 481.6 MB, free: 47.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.3965, allocations: 13.89 kB / 481.6 MB, free: 47.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.397, allocations: 16.33 kB / 481.6 MB, free: 47.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.3971, allocations: 27.39 kB / 481.7 MB, free: 47.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.3971, allocations: 16.67 kB / 481.7 MB, free: 47.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.3973, allocations: 156.3 kB / 481.8 MB, free: 47.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3973, allocations: 0 / 481.8 MB, free: 47.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008685/0.3982, allocations: 69.94 kB / 481.9 MB, free: 47.61 MB / 446.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.0001134/0.3983, allocations: 100.9 kB / 482 MB, free: 47.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.3991, allocations: 272.6 kB / 482.3 MB, free: 47.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3991, allocations: 3.188 kB / 482.3 MB, free: 47.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.3995, allocations: 132.2 kB / 482.4 MB, free: 47.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4005, allocations: 33.03 kB / 482.4 MB, free: 47.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.4019, allocations: 0.8766 MB / 483.3 MB, free: 46.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.4021, allocations: 162 kB / 483.5 MB, free: 46.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.4022, allocations: 35.45 kB / 483.5 MB, free: 46.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.4023, allocations: 32.66 kB / 483.5 MB, free: 46.77 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4023, allocations: 0 / 483.5 MB, free: 46.77 MB / 446.1 MB Notification: Performance of Templates: time 0.007749/0.4101, allocations: 2.356 MB / 485.9 MB, free: 46.5 MB / 446.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 -s ida -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: 5.5710667569655925]