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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001043, allocations: 182.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007936/0.0007936, allocations: 92.8 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3772/0.3772, allocations: 43.47 MB / 358.6 MB, free: 51.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.985e-05, allocations: 7.984 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 58.83 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5105, allocations: 87.42 MB / 0.5582 GB, free: 16.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/0.5107, allocations: 59.62 kB / 0.5582 GB, free: 16.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01209/0.5228, allocations: 4.797 MB / 0.5629 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5228, allocations: 0 / 0.5629 GB, free: 13.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.5229, allocations: 10.95 kB / 0.5629 GB, free: 13.77 MB / 394.7 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.000603/0.5235, allocations: 0.5193 MB / 0.5634 GB, free: 13.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5235, allocations: 12.03 kB / 0.5634 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.5236, allocations: 35.06 kB / 0.5635 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.5238, allocations: 256.3 kB / 0.5637 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5239, allocations: 20.42 kB / 0.5637 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.5239, allocations: 31.25 kB / 0.5638 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.5243, allocations: 253.5 kB / 0.564 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5243, allocations: 5.5 kB / 0.564 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.5243, allocations: 15.19 kB / 0.564 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5243, allocations: 12 kB / 0.564 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.5246, allocations: 142.6 kB / 0.5642 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.5259, allocations: 1.299 MB / 0.5654 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.5261, allocations: 231 kB / 0.5657 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.5262, allocations: 82.52 kB / 0.5657 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.5263, allocations: 4 kB / 0.5657 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.5263, allocations: 43.28 kB / 0.5658 GB, free: 11.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.5263, allocations: 0 / 0.5658 GB, free: 11.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001505/0.5278, allocations: 1.391 MB / 0.5671 GB, free: 9.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5279, allocations: 136.5 kB / 0.5673 GB, free: 9.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.528, allocations: 194.5 kB / 0.5675 GB, free: 9.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5281, allocations: 35.2 kB / 0.5675 GB, free: 9.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.5281, allocations: 176.6 kB / 0.5677 GB, free: 9.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.5282, allocations: 118.3 kB / 0.5678 GB, free: 9.172 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.5282, allocations: 6.312 kB / 0.5678 GB, free: 9.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.5283, allocations: 341.9 kB / 0.5681 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.5285, allocations: 70.45 kB / 0.5682 GB, free: 8.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.5287, allocations: 205.3 kB / 0.5684 GB, free: 8.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.5289, allocations: 117 kB / 0.5685 GB, free: 8.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5289, allocations: 0 / 0.5685 GB, free: 8.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004386/0.5293, allocations: 338.3 kB / 0.5688 GB, free: 8.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5293, allocations: 5.688 kB / 0.5688 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5294, allocations: 13.03 kB / 0.5688 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5294, allocations: 4 kB / 0.5688 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.5298, allocations: 109.9 kB / 0.5689 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.5298, allocations: 7.938 kB / 0.5689 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.53, allocations: 35.2 kB / 0.569 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.53, allocations: 16 kB / 0.569 GB, free: 8.102 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.5301, allocations: 136.4 kB / 0.5691 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.5302, allocations: 31.62 kB / 0.5691 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.5303, allocations: 28.03 kB / 0.5692 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5303, allocations: 4 kB / 0.5692 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.5303, allocations: 11.92 kB / 0.5692 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.5303, allocations: 7.938 kB / 0.5692 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.5313, allocations: 0.9268 MB / 0.5701 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5313, allocations: 0 / 0.5701 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.5317, allocations: 87.08 kB / 0.5702 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5317, allocations: 3.938 kB / 0.5702 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.5317, allocations: 15.5 kB / 0.5702 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5317, allocations: 8 kB / 0.5702 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5317, allocations: 3.938 kB / 0.5702 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.5323, allocations: 0.7027 MB / 0.5709 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.5323, allocations: 96.83 kB / 0.571 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.5324, allocations: 7.188 kB / 0.571 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.5326, allocations: 26.11 kB / 0.571 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.5327, allocations: 35.52 kB / 0.5711 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5327, allocations: 8.25 kB / 0.5711 GB, free: 6.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.5328, allocations: 156.7 kB / 0.5712 GB, free: 5.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5328, allocations: 0 / 0.5712 GB, free: 5.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003917/0.5332, allocations: 66.06 kB / 0.5713 GB, free: 5.91 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.5334, allocations: 103.5 kB / 0.5714 GB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.5337, allocations: 226.7 kB / 0.5716 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5337, allocations: 0 / 0.5716 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.5338, allocations: 104 kB / 0.5717 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.5342, allocations: 37.92 kB / 0.5717 GB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.5351, allocations: 0.7199 MB / 0.5724 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.5353, allocations: 0.7761 MB / 0.5732 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.5355, allocations: 34.95 kB / 0.5732 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.5355, allocations: 27.38 kB / 0.5732 GB, free: 3.965 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5355, allocations: 0 / 0.5732 GB, free: 3.965 MB / 394.7 MB Notification: Performance of Templates: time 0.004295/0.5398, allocations: 2.108 MB / 0.5753 GB, free: 1.879 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches