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.001788/0.001788, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002113/0.002113, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.503/1.503, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.2287/0.2287, allocations: 46.95 MB / 361.6 MB, free: 4.141 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.00211/0.00211, allocations: 75.88 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3062, allocations: 66.02 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004033/0.3103, allocations: 2.485 MB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3115, allocations: 0.6895 MB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.3117, allocations: 19.88 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.3118, allocations: 43.52 kB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.312, allocations: 83.2 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3123, allocations: 99.86 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.3127, allocations: 334.5 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.3129, allocations: 73.7 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.3131, allocations: 143.5 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3133, allocations: 131.3 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.3134, allocations: 24 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.3134, allocations: 27.98 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.3135, allocations: 55.86 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3136, allocations: 123.3 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.314, allocations: 309.4 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.314, allocations: 0 / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.314, allocations: 4 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.314, allocations: 4 kB / 0.5663 GB, free: 15.54 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.0009539/0.315, allocations: 0.5167 MB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.315, allocations: 12.02 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.3153, allocations: 48.73 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.3157, allocations: 217.9 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3157, allocations: 20.88 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.3157, allocations: 32.33 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.3163, allocations: 277.4 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.3163, allocations: 7.953 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.3163, allocations: 15.97 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3163, allocations: 12 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.3168, allocations: 179.8 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.3184, allocations: 1.153 MB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.3189, allocations: 234.4 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3191, allocations: 99.52 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3191, allocations: 4 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3192, allocations: 42.55 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.3192, allocations: 0 / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002599/0.3218, allocations: 1.205 MB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.3218, allocations: 132.5 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.3221, allocations: 238.2 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3221, allocations: 29.7 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3222, allocations: 184.7 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.3223, allocations: 115 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3225, allocations: 78.08 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3226, allocations: 334.8 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3229, allocations: 100.8 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.3232, allocations: 233.5 kB / 0.5716 GB, free: 9.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.3239, allocations: 381 kB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3239, allocations: 0 / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008086/0.3247, allocations: 397.2 kB / 0.5724 GB, free: 8.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3247, allocations: 12.03 kB / 0.5724 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3247, allocations: 4 kB / 0.5724 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3248, allocations: 8 kB / 0.5724 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.3252, allocations: 99.8 kB / 0.5725 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3252, allocations: 11.94 kB / 0.5725 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3254, allocations: 28.23 kB / 0.5725 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.3254, allocations: 20 kB / 0.5726 GB, free: 8.613 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.0001514/0.3256, allocations: 149.7 kB / 0.5727 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3257, allocations: 39.73 kB / 0.5727 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.3258, allocations: 33.72 kB / 0.5728 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3258, allocations: 8 kB / 0.5728 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3258, allocations: 0 / 0.5728 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3258, allocations: 3.984 kB / 0.5728 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.3273, allocations: 0.8799 MB / 0.5736 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3273, allocations: 0 / 0.5736 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.3277, allocations: 79.89 kB / 0.5737 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3277, allocations: 8.266 kB / 0.5737 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.3277, allocations: 8 kB / 0.5737 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3277, allocations: 0 / 0.5737 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3277, allocations: 11.88 kB / 0.5737 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3288, allocations: 0.7345 MB / 0.5745 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.3288, allocations: 28.11 kB / 0.5745 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3288, allocations: 8 kB / 0.5745 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.3292, allocations: 19.97 kB / 0.5745 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.3292, allocations: 35.88 kB / 0.5745 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3293, allocations: 12 kB / 0.5746 GB, free: 6.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3294, allocations: 160.5 kB / 0.5747 GB, free: 6.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3294, allocations: 0 / 0.5747 GB, free: 6.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004848/0.3299, allocations: 64 kB / 0.5748 GB, free: 6.258 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.0001164/0.33, allocations: 107.4 kB / 0.5749 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.3306, allocations: 271.9 kB / 0.5751 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3307, allocations: 4 kB / 0.5751 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.3309, allocations: 123.8 kB / 0.5753 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.3316, allocations: 44.78 kB / 0.5753 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.333, allocations: 0.8886 MB / 0.5762 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.3332, allocations: 160.1 kB / 0.5763 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.3334, allocations: 34.95 kB / 0.5763 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.3334, allocations: 31.42 kB / 0.5764 GB, free: 4.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3334, allocations: 0 / 0.5764 GB, free: 4.539 MB / 414.1 MB Notification: Performance of Templates: time 0.006975/0.3404, allocations: 2.805 MB / 0.5791 GB, free: 1.766 MB / 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 -s gbode -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: 5.002631397001096]