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.001695/0.001695, allocations: 75.36 kB / 19.93 MB, free: 1.77 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.001982/0.001982, allocations: 170.9 kB / 23.22 MB, free: 4.887 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.51/1.51, allocations: 158.6 MB / 185 MB, free: 6.391 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.2398/0.2398, allocations: 32.37 MB / 269.6 MB, free: 4.656 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: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.455e-05, allocations: 6.281 kB / 407.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004208/0.004243, allocations: 2.458 MB / 409.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.005675, allocations: 0.6707 MB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.005845, allocations: 7.938 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.00603, allocations: 43.47 kB / 410.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.006231, allocations: 91.14 kB / 410.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.006543, allocations: 91.8 kB / 410.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.007001, allocations: 346.3 kB / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.007195, allocations: 58.11 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.007487, allocations: 183.6 kB / 411.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.007671, allocations: 99.69 kB / 411.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.007722, allocations: 24 kB / 411.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.007773, allocations: 20 kB / 411.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.007839, allocations: 55.75 kB / 411.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.007971, allocations: 103.8 kB / 411.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.008372, allocations: 306.9 kB / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.008377, allocations: 0 / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.008378, allocations: 3.938 kB / 411.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.008385, allocations: 0 / 411.9 MB, free: 14.46 MB / 350.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.001041/0.009426, allocations: 0.509 MB / 412.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.009469, allocations: 12.03 kB / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.009551, allocations: 40.7 kB / 412.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.009968, allocations: 204.9 kB / 412.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.009996, allocations: 20.88 kB / 412.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.01007, allocations: 28.38 kB / 412.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.01062, allocations: 273.7 kB / 412.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.01065, allocations: 8.141 kB / 413 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.01068, allocations: 8.375 kB / 413 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.0107, allocations: 15.94 kB / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.01115, allocations: 179.8 kB / 413.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.01287, allocations: 1.158 MB / 414.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.01334, allocations: 230.4 kB / 414.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.01356, allocations: 99.52 kB / 414.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.01359, allocations: 4 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.01362, allocations: 34.56 kB / 414.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.023e-06/0.01362, allocations: 3.938 kB / 414.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002771/0.0164, allocations: 1.214 MB / 415.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.0165, allocations: 136.6 kB / 416 MB, free: 9.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.01677, allocations: 233.8 kB / 416.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.0168, allocations: 29.7 kB / 416.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.01695, allocations: 180.5 kB / 416.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.01707, allocations: 119 kB / 416.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.01718, allocations: 70.19 kB / 416.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.01737, allocations: 338.8 kB / 417 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.01765, allocations: 100.9 kB / 417.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.01804, allocations: 242 kB / 417.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.01876, allocations: 369 kB / 417.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.01877, allocations: 11.94 kB / 417.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008512/0.01962, allocations: 393.7 kB / 418.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01964, allocations: 4 kB / 418.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.01965, allocations: 8 kB / 418.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.01967, allocations: 8.031 kB / 418.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.02007, allocations: 99.86 kB / 418.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.02009, allocations: 15.92 kB / 418.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.02032, allocations: 27.94 kB / 418.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.02035, allocations: 20 kB / 418.2 MB, free: 7.566 MB / 350.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.0001739/0.02053, allocations: 153.7 kB / 418.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.02063, allocations: 27.86 kB / 418.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.278e-05/0.02072, allocations: 33.77 kB / 418.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.02073, allocations: 7.938 kB / 418.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.02074, allocations: 4 kB / 418.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.02074, allocations: 3.984 kB / 418.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.02229, allocations: 0.8799 MB / 419.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.02229, allocations: 4 kB / 419.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.02268, allocations: 75.89 kB / 419.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.02269, allocations: 4 kB / 419.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.02271, allocations: 11.98 kB / 419.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.413e-06/0.02272, allocations: 4.438 kB / 419.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.02272, allocations: 3.938 kB / 419.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.02386, allocations: 0.7329 MB / 420.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.02391, allocations: 23.81 kB / 420.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.02395, allocations: 8.062 kB / 420.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.02424, allocations: 19.98 kB / 420.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.02433, allocations: 35.83 kB / 420.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.02436, allocations: 15.98 kB / 420.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.02451, allocations: 153.2 kB / 420.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02451, allocations: 0 / 420.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.025, allocations: 64 kB / 420.5 MB, free: 5.238 MB / 350.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.0001539/0.02516, allocations: 107.2 kB / 420.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.02583, allocations: 263.6 kB / 420.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02583, allocations: 3.938 kB / 420.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.02617, allocations: 133.2 kB / 421 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.02684, allocations: 40.67 kB / 421 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.02823, allocations: 0.7265 MB / 421.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.02842, allocations: 164.1 kB / 421.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.02854, allocations: 30.97 kB / 421.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.02862, allocations: 28.5 kB / 422 MB, free: 3.68 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.02862, allocations: 0 / 422 MB, free: 3.68 MB / 350.1 MB Notification: Performance of Templates: time 0.007172/0.0358, allocations: 2.37 MB / 424.3 MB, free: 1.336 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/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.240990985184908]