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.000913/0.0009129, allocations: 180.2 kB / 16.77 MB, free: 5.051 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.489/1.489, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008121/0.0008122, allocations: 82.42 kB / 271.3 MB, free: 8.246 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.3821/0.3821, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005005, allocations: 11.98 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4681, allocations: 87.55 MB / 0.5654 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.4683, allocations: 63.97 kB / 0.5655 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01314/0.4814, allocations: 4.797 MB / 0.5702 GB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4815, allocations: 4 kB / 0.5702 GB, free: 9.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.4815, allocations: 8 kB / 0.5702 GB, free: 9.625 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.0008281/0.4823, allocations: 0.5376 MB / 0.5707 GB, free: 9.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4824, allocations: 12.03 kB / 0.5707 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.4825, allocations: 32.56 kB / 0.5708 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.4828, allocations: 267.4 kB / 0.571 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.4828, allocations: 17.48 kB / 0.571 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.4828, allocations: 24.38 kB / 0.5711 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.4833, allocations: 290.5 kB / 0.5713 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4834, allocations: 8.094 kB / 0.5713 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.4834, allocations: 15.94 kB / 0.5714 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4834, allocations: 7.828 kB / 0.5714 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.4838, allocations: 206.3 kB / 0.5716 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.4854, allocations: 1.3 MB / 0.5728 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.4858, allocations: 260.9 kB / 0.5731 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.486, allocations: 111.4 kB / 0.5732 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.486, allocations: 0 / 0.5732 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.486, allocations: 38.5 kB / 0.5732 GB, free: 6.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.253e-06/0.4861, allocations: 4 kB / 0.5732 GB, free: 6.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.002392/0.4885, allocations: 1.634 MB / 0.5748 GB, free: 4.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.4885, allocations: 136.5 kB / 0.575 GB, free: 4.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.4887, allocations: 217 kB / 0.5752 GB, free: 4.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.4888, allocations: 38.8 kB / 0.5752 GB, free: 4.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.4888, allocations: 168.3 kB / 0.5754 GB, free: 3.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.4889, allocations: 122.3 kB / 0.5755 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.489, allocations: 8 kB / 0.5755 GB, free: 3.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4891, allocations: 338.8 kB / 0.5758 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.4893, allocations: 108.8 kB / 0.5759 GB, free: 3.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.4897, allocations: 249.4 kB / 0.5761 GB, free: 2.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.4903, allocations: 385.1 kB / 0.5765 GB, free: 2.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4903, allocations: 8 kB / 0.5765 GB, free: 2.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000732/0.491, allocations: 416.7 kB / 0.5769 GB, free: 2.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4911, allocations: 11.94 kB / 0.5769 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.4911, allocations: 4.375 kB / 0.5769 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.4911, allocations: 15.94 kB / 0.5769 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.4915, allocations: 99.88 kB / 0.577 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.4915, allocations: 15.92 kB / 0.5771 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.4917, allocations: 35.98 kB / 0.5771 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.4918, allocations: 16 kB / 0.5771 GB, free: 1.898 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.4919, allocations: 150.5 kB / 0.5773 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.492, allocations: 31.56 kB / 0.5773 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.4921, allocations: 37.7 kB / 0.5773 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4921, allocations: 7.938 kB / 0.5773 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4921, allocations: 0 / 0.5773 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4921, allocations: 7.984 kB / 0.5773 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.4935, allocations: 1.009 MB / 0.5783 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4935, allocations: 0 / 0.5783 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.4939, allocations: 87.88 kB / 0.5784 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4939, allocations: 0 / 0.5784 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.4939, allocations: 8 kB / 0.5784 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4939, allocations: 12 kB / 0.5784 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4939, allocations: 0 / 0.5784 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/0.4949, allocations: 0.7742 MB / 0.5792 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.495, allocations: 96.83 kB / 0.5793 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.495, allocations: 8.062 kB / 0.5793 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.4953, allocations: 35.91 kB / 0.5793 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.4954, allocations: 27.91 kB / 0.5793 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.4954, allocations: 12 kB / 0.5793 GB, free: 15.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4955, allocations: 156.5 kB / 0.5795 GB, free: 15.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4955, allocations: 0 / 0.5795 GB, free: 15.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004635/0.496, allocations: 64 kB / 0.5796 GB, free: 15.27 MB / 410.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 () * 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 (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.0001142/0.4961, allocations: 111.2 kB / 0.5797 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005996/0.4967, allocations: 292.6 kB / 0.5799 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4967, allocations: 384 / 0.5799 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.497, allocations: 152.1 kB / 0.5801 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.4977, allocations: 37.11 kB / 0.5801 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.4991, allocations: 1.081 MB / 0.5812 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.4994, allocations: 0.7683 MB / 0.5819 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.4996, allocations: 30.95 kB / 0.582 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.4997, allocations: 31.42 kB / 0.582 GB, free: 12.71 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4997, allocations: 0 / 0.582 GB, free: 12.71 MB / 410.7 MB Notification: Performance of Templates: time 0.005343/0.505, allocations: 2.13 MB / 0.5841 GB, free: 10.59 MB / 410.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/jenkins1/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