Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001859/0.001859, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 79.88 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2957, allocations: 66.09 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004107/0.2998, allocations: 2.476 MB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3012, allocations: 0.6934 MB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3013, allocations: 7.938 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3015, allocations: 51.39 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.3017, allocations: 91.2 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.302, allocations: 107.8 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.3024, allocations: 326.6 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3025, allocations: 69.92 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3028, allocations: 127.6 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.303, allocations: 123.3 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.303, allocations: 20 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.3031, allocations: 32 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.3032, allocations: 59.75 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3033, allocations: 119.4 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.3037, allocations: 313 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3037, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3037, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3037, allocations: 0 / 0.5664 GB, free: 15.36 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.0009448/0.3046, allocations: 0.5284 MB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3047, allocations: 12.03 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.3049, allocations: 52.72 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3053, allocations: 214 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3053, allocations: 16.88 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.3054, allocations: 32.33 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.3059, allocations: 277.4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3059, allocations: 3.953 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.306, allocations: 12 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.306, allocations: 8 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.3064, allocations: 194.8 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.3081, allocations: 1.145 MB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.3086, allocations: 238.5 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3088, allocations: 95.38 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3088, allocations: 8 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.3088, allocations: 42.44 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.3088, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002549/0.3114, allocations: 1.205 MB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.3115, allocations: 140.5 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.3117, allocations: 229 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3117, allocations: 33.7 kB / 0.5707 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3119, allocations: 176.5 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.312, allocations: 127 kB / 0.571 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3121, allocations: 66.09 kB / 0.5711 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3123, allocations: 342.8 kB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.3125, allocations: 96.81 kB / 0.5715 GB, free: 9.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.3129, allocations: 241.4 kB / 0.5717 GB, free: 9.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.3136, allocations: 364.8 kB / 0.5721 GB, free: 9.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3136, allocations: 7.938 kB / 0.5721 GB, free: 9 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008084/0.3144, allocations: 402.9 kB / 0.5725 GB, free: 8.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3144, allocations: 4 kB / 0.5725 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3144, allocations: 8 kB / 0.5725 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3144, allocations: 8.438 kB / 0.5725 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3148, allocations: 111.8 kB / 0.5726 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3148, allocations: 11.94 kB / 0.5726 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.3151, allocations: 27.91 kB / 0.5726 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3151, allocations: 20 kB / 0.5726 GB, free: 8.414 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.0001573/0.3153, allocations: 141.8 kB / 0.5728 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3154, allocations: 35.75 kB / 0.5728 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.3154, allocations: 33.7 kB / 0.5728 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3154, allocations: 12 kB / 0.5729 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3154, allocations: 0 / 0.5729 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3155, allocations: 3.984 kB / 0.5729 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.3169, allocations: 0.8801 MB / 0.5737 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.317, allocations: 4.062 kB / 0.5737 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.3173, allocations: 75.89 kB / 0.5738 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3173, allocations: 0 / 0.5738 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3174, allocations: 8 kB / 0.5738 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3174, allocations: 8.062 kB / 0.5738 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3174, allocations: 7.922 kB / 0.5738 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3184, allocations: 0.7378 MB / 0.5745 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.3185, allocations: 23.81 kB / 0.5746 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.3185, allocations: 8.062 kB / 0.5746 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.3188, allocations: 19.98 kB / 0.5746 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.3189, allocations: 31.83 kB / 0.5746 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.3189, allocations: 12 kB / 0.5746 GB, free: 6.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3191, allocations: 160.5 kB / 0.5748 GB, free: 6.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3191, allocations: 4 kB / 0.5748 GB, free: 6.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.3196, allocations: 68 kB / 0.5749 GB, free: 6.066 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.0001277/0.3197, allocations: 107.6 kB / 0.575 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006488/0.3204, allocations: 276.3 kB / 0.5752 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3204, allocations: 0 / 0.5752 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.3207, allocations: 131.7 kB / 0.5753 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.3213, allocations: 38.62 kB / 0.5754 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3228, allocations: 0.9022 MB / 0.5763 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.323, allocations: 164.1 kB / 0.5764 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.3231, allocations: 31.42 kB / 0.5764 GB, free: 4.355 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3231, allocations: 0 / 0.5764 GB, free: 4.355 MB / 414.1 MB Notification: Performance of Templates: time 0.006058/0.3291, allocations: 3.539 MB / 0.5799 GB, free: 0.8203 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.767876329831779]