Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001258/0.001258, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.001988/0.001988, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2002/0.2002, allocations: 32.81 MB / 293.5 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 440.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.802e-05, allocations: 4.953 kB / 440.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003746/0.003774, allocations: 2.483 MB / 442.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.005021, allocations: 0.6855 MB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.005149, allocations: 11.94 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.005293, allocations: 47.47 kB / 443.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.005474, allocations: 95.08 kB / 443.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.005817, allocations: 107.8 kB / 443.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.00624, allocations: 350.2 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.006411, allocations: 58.14 kB / 443.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.006723, allocations: 203.5 kB / 444.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.006908, allocations: 91.7 kB / 444.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.006954, allocations: 20 kB / 444.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.007039, allocations: 35.92 kB / 444.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.0071, allocations: 59.75 kB / 444.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.007222, allocations: 91.77 kB / 444.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.007618, allocations: 307 kB / 444.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.007623, allocations: 4 kB / 444.7 MB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.007623, allocations: 3.938 kB / 444.7 MB, free: 3.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007628, allocations: 4 kB / 444.7 MB, free: 3.559 MB / 366.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.0009349/0.008563, allocations: 0.5129 MB / 445.2 MB, free: 3.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.008595, allocations: 8.031 kB / 445.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.008842, allocations: 56.69 kB / 445.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.009193, allocations: 225.1 kB / 445.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.009213, allocations: 16.88 kB / 445.5 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.009269, allocations: 28.33 kB / 445.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.009777, allocations: 277.7 kB / 445.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.009799, allocations: 8.172 kB / 445.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.009826, allocations: 12.38 kB / 445.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.009837, allocations: 11.94 kB / 445.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.01027, allocations: 179.8 kB / 446 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.01188, allocations: 1.162 MB / 447.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.0123, allocations: 242.4 kB / 447.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.0125, allocations: 95.52 kB / 447.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.01252, allocations: 4 kB / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.01255, allocations: 42.55 kB / 447.5 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.654e-06/0.01255, allocations: 0 / 447.5 MB, free: 492 kB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.1961/0.2087, allocations: 1.201 MB / 448.7 MB, free: 21.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2087, allocations: 136.8 kB / 448.9 MB, free: 20.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.209, allocations: 230.6 kB / 449.1 MB, free: 20.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.209, allocations: 35.3 kB / 449.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.2091, allocations: 176.7 kB / 449.3 MB, free: 20.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.2091, allocations: 119.1 kB / 449.4 MB, free: 20.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.2092, allocations: 70.59 kB / 449.5 MB, free: 20.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.2093, allocations: 339.4 kB / 449.8 MB, free: 20.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.2096, allocations: 100.9 kB / 449.9 MB, free: 20.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.2099, allocations: 239.6 kB / 450.2 MB, free: 19.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.2104, allocations: 367.8 kB / 450.5 MB, free: 19.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2104, allocations: 1.062 kB / 450.5 MB, free: 19.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008027/0.2112, allocations: 396.6 kB / 450.9 MB, free: 19.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.2113, allocations: 10.72 kB / 450.9 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2113, allocations: 8.094 kB / 450.9 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.2113, allocations: 10.22 kB / 450.9 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.2117, allocations: 103.2 kB / 451 MB, free: 19.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.2118, allocations: 11.42 kB / 451 MB, free: 19.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.212, allocations: 26.78 kB / 451.1 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.212, allocations: 18.67 kB / 451.1 MB, free: 19.55 MB / 366.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.0001251/0.2121, allocations: 153.9 kB / 451.2 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.2122, allocations: 30.34 kB / 451.3 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/0.2123, allocations: 40.38 kB / 451.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.2123, allocations: 3.969 kB / 451.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.2123, allocations: 4.562 kB / 451.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2123, allocations: 3.141 kB / 451.3 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.2136, allocations: 0.8797 MB / 452.2 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2136, allocations: 2.078 kB / 452.2 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.2139, allocations: 81.12 kB / 452.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2139, allocations: 2.75 kB / 452.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.214, allocations: 7.781 kB / 452.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.214, allocations: 5.922 kB / 452.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.214, allocations: 2.75 kB / 452.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009172/0.2149, allocations: 0.7312 MB / 453 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2149, allocations: 25.3 kB / 453.1 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.215, allocations: 7.938 kB / 453.1 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.2152, allocations: 19.34 kB / 453.1 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2153, allocations: 32.75 kB / 453.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2154, allocations: 15.92 kB / 453.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.2155, allocations: 159.1 kB / 453.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2155, allocations: 1.719 kB / 453.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.216, allocations: 68 kB / 453.4 MB, free: 18.09 MB / 366.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.0001032/0.2161, allocations: 105.9 kB / 453.5 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006112/0.2167, allocations: 271.7 kB / 453.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2167, allocations: 0 / 453.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.217, allocations: 128.4 kB / 453.8 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.2176, allocations: 37.61 kB / 453.9 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2187, allocations: 0.7397 MB / 454.6 MB, free: 17.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.2189, allocations: 166.5 kB / 454.8 MB, free: 17.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.219, allocations: 34.58 kB / 454.8 MB, free: 17.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.2191, allocations: 32.75 kB / 454.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2191, allocations: 0 / 454.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of Templates: time 0.006953/0.226, allocations: 2.374 MB / 457.2 MB, free: 16.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.736400809139013]