Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001527/0.001527, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001664/0.001664, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 46.93 MB / 361.6 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 0.4974 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2995, allocations: 66.02 MB / 0.5618 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004146/0.3036, allocations: 2.659 MB / 0.5644 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3051, allocations: 0.744 MB / 0.5652 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.3053, allocations: 7.938 kB / 0.5652 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.3054, allocations: 43.53 kB / 0.5652 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3056, allocations: 87.2 kB / 0.5653 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.3059, allocations: 99.8 kB / 0.5654 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.3063, allocations: 342.5 kB / 0.5657 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.3065, allocations: 58.06 kB / 0.5658 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3067, allocations: 143.5 kB / 0.5659 GB, free: 364 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.3069, allocations: 127.4 kB / 0.566 GB, free: 236 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.307, allocations: 28 kB / 0.5661 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.307, allocations: 32 kB / 0.5661 GB, free: 176 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.3071, allocations: 51.78 kB / 0.5661 GB, free: 124 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.3073, allocations: 151.3 kB / 0.5663 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.3076, allocations: 309.2 kB / 0.5666 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3076, allocations: 0 / 0.5666 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3076, allocations: 3.938 kB / 0.5666 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3077, allocations: 0 / 0.5666 GB, free: 15.67 MB / 414.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.0009557/0.3086, allocations: 0.5284 MB / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3086, allocations: 8.031 kB / 0.5671 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.3089, allocations: 48.73 kB / 0.5672 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.3093, allocations: 214 kB / 0.5674 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3093, allocations: 24.86 kB / 0.5674 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.3094, allocations: 32.33 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.3099, allocations: 273.5 kB / 0.5677 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.3099, allocations: 15.88 kB / 0.5677 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.31, allocations: 12 kB / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.31, allocations: 11.94 kB / 0.5677 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.3104, allocations: 179.8 kB / 0.5679 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.3122, allocations: 1.23 MB / 0.5691 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.3126, allocations: 242.3 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3128, allocations: 95.39 kB / 0.5694 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3128, allocations: 7.984 kB / 0.5694 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.3129, allocations: 42.62 kB / 0.5695 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.3129, allocations: 4 kB / 0.5695 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00248/0.3154, allocations: 1.206 MB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.3155, allocations: 132.5 kB / 0.5708 GB, free: 11.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.3158, allocations: 229 kB / 0.571 GB, free: 10.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3158, allocations: 33.7 kB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3159, allocations: 180.5 kB / 0.5712 GB, free: 10.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.316, allocations: 122.9 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.3161, allocations: 70.12 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3163, allocations: 334.8 kB / 0.5717 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.3165, allocations: 96.81 kB / 0.5718 GB, free: 9.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.3169, allocations: 245.4 kB / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.3175, allocations: 381.1 kB / 0.5724 GB, free: 9.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3175, allocations: 0 / 0.5724 GB, free: 9.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007607/0.3183, allocations: 396.8 kB / 0.5728 GB, free: 8.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3183, allocations: 8 kB / 0.5728 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3183, allocations: 7.984 kB / 0.5728 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3183, allocations: 8 kB / 0.5728 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.3187, allocations: 96.25 kB / 0.5729 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3187, allocations: 15.94 kB / 0.5729 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.3189, allocations: 23.98 kB / 0.5729 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.3189, allocations: 16.31 kB / 0.5729 GB, free: 8.637 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.0001649/0.3191, allocations: 157.6 kB / 0.5731 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3192, allocations: 35.75 kB / 0.5731 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.3193, allocations: 33.7 kB / 0.5731 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3193, allocations: 4 kB / 0.5732 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3193, allocations: 4 kB / 0.5732 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3193, allocations: 8.234 kB / 0.5732 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.3208, allocations: 0.9457 MB / 0.5741 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3208, allocations: 288 / 0.5741 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.3212, allocations: 79.89 kB / 0.5742 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3212, allocations: 3.984 kB / 0.5742 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.3212, allocations: 19.86 kB / 0.5742 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3212, allocations: 4 kB / 0.5742 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3212, allocations: 3.938 kB / 0.5742 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3223, allocations: 0.7348 MB / 0.5749 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3223, allocations: 27.81 kB / 0.5749 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.3223, allocations: 12 kB / 0.5749 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.3226, allocations: 15.98 kB / 0.575 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.3227, allocations: 31.89 kB / 0.575 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3227, allocations: 11.98 kB / 0.575 GB, free: 6.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.3229, allocations: 160.5 kB / 0.5752 GB, free: 6.258 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 0 / 0.5752 GB, free: 6.258 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000499/0.3234, allocations: 68 kB / 0.5752 GB, free: 6.191 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.0001151/0.3235, allocations: 111.1 kB / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006326/0.3241, allocations: 260 kB / 0.5756 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3241, allocations: 0 / 0.5756 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.3244, allocations: 131.7 kB / 0.5757 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.325, allocations: 45.08 kB / 0.5757 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3265, allocations: 0.9138 MB / 0.5766 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.327, allocations: 0.772 MB / 0.5774 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.3271, allocations: 31.42 kB / 0.5774 GB, free: 3.859 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3271, allocations: 0 / 0.5774 GB, free: 3.859 MB / 414.1 MB Notification: Performance of Templates: time 0.005948/0.333, allocations: 3.394 MB / 0.5807 GB, free: 480 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.415902899112552]