Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001505, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.45 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3886/0.3886, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.601e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4087, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.5754, allocations: 86.75 MB / 0.5506 GB, free: 12.56 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5757, allocations: 63.97 kB / 0.5507 GB, free: 12.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02246/0.5982, allocations: 4.749 MB / 0.5553 GB, free: 7.734 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5982, allocations: 0 / 0.5553 GB, free: 7.734 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.5983, allocations: 11.98 kB / 0.5553 GB, free: 7.723 MB / 395.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.001056/0.5994, allocations: 0.5099 MB / 0.5558 GB, free: 7.164 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5994, allocations: 8.031 kB / 0.5558 GB, free: 7.156 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.5995, allocations: 35.62 kB / 0.5559 GB, free: 7.121 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.6, allocations: 262 kB / 0.5561 GB, free: 6.824 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.6, allocations: 8 kB / 0.5561 GB, free: 6.816 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.6001, allocations: 20 kB / 0.5561 GB, free: 6.797 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004063/0.6005, allocations: 121.1 kB / 0.5563 GB, free: 6.68 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.601, allocations: 216.9 kB / 0.5565 GB, free: 6.441 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.6011, allocations: 11.91 kB / 0.5565 GB, free: 6.43 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.6011, allocations: 0 / 0.5565 GB, free: 6.43 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.6012, allocations: 8 kB / 0.5565 GB, free: 6.422 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.6035, allocations: 1.267 MB / 0.5577 GB, free: 5.059 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.604, allocations: 206.4 kB / 0.5579 GB, free: 4.82 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.6042, allocations: 71.44 kB / 0.558 GB, free: 4.738 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.6043, allocations: 11.95 kB / 0.558 GB, free: 4.727 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.6043, allocations: 38.62 kB / 0.558 GB, free: 4.68 MB / 395.1 MB Notification: Performance of pre-optimization done (n=26): time 2.895e-06/0.6043, allocations: 4 kB / 0.558 GB, free: 4.676 MB / 395.1 MB Notification: Performance of matching and sorting (n=32): time 0.002789/0.6071, allocations: 1.336 MB / 0.5593 GB, free: 3.133 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.6073, allocations: 132.5 kB / 0.5595 GB, free: 2.973 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.6076, allocations: 188.5 kB / 0.5596 GB, free: 2.785 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.6076, allocations: 25.7 kB / 0.5597 GB, free: 2.754 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.6078, allocations: 235 kB / 0.5599 GB, free: 2.52 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6079, allocations: 110.3 kB / 0.56 GB, free: 2.41 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.608, allocations: 0 / 0.56 GB, free: 2.41 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6081, allocations: 330.8 kB / 0.5603 GB, free: 2.078 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.6083, allocations: 64.88 kB / 0.5604 GB, free: 2.012 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.6087, allocations: 196.6 kB / 0.5606 GB, free: 1.762 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.6089, allocations: 92.83 kB / 0.5607 GB, free: 1.672 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.609, allocations: 4 kB / 0.5607 GB, free: 1.668 MB / 395.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007836/0.6098, allocations: 285.2 kB / 0.5609 GB, free: 1.383 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.6098, allocations: 8 kB / 0.5609 GB, free: 1.375 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6098, allocations: 4 kB / 0.5609 GB, free: 1.371 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.6099, allocations: 12.47 kB / 0.5609 GB, free: 1.359 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.6106, allocations: 111.9 kB / 0.5611 GB, free: 1.25 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.6107, allocations: 11.94 kB / 0.5611 GB, free: 1.238 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.6111, allocations: 19.98 kB / 0.5611 GB, free: 1.219 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.6111, allocations: 19.98 kB / 0.5611 GB, free: 1.199 MB / 395.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 () * 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.0001441/0.6113, allocations: 120.8 kB / 0.5612 GB, free: 1.074 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6114, allocations: 31.62 kB / 0.5613 GB, free: 1.043 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.6116, allocations: 29.83 kB / 0.5613 GB, free: 1.02 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6116, allocations: 4 kB / 0.5613 GB, free: 1.016 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6116, allocations: 4 kB / 0.5613 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6116, allocations: 0 / 0.5613 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.6134, allocations: 0.8573 MB / 0.5621 GB, free: 104 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.6135, allocations: 8.062 kB / 0.5621 GB, free: 96 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.6142, allocations: 87.88 kB / 0.5622 GB, free: 8 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.6143, allocations: 4 kB / 0.5622 GB, free: 4 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.6143, allocations: 0 / 0.5622 GB, free: 4 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.6143, allocations: 7.984 kB / 0.5622 GB, free: 15.99 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.467e-06/0.6144, allocations: 7.953 kB / 0.5622 GB, free: 15.98 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.6154, allocations: 0.6827 MB / 0.5629 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6155, allocations: 104.8 kB / 0.563 GB, free: 15.13 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.6156, allocations: 0 / 0.563 GB, free: 15.13 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.616, allocations: 19.98 kB / 0.563 GB, free: 15.11 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6162, allocations: 28.27 kB / 0.563 GB, free: 15.08 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.6162, allocations: 19.98 kB / 0.5631 GB, free: 15.06 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.6164, allocations: 140.5 kB / 0.5632 GB, free: 14.93 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6164, allocations: 3.938 kB / 0.5632 GB, free: 14.92 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007169/0.6172, allocations: 52 kB / 0.5633 GB, free: 14.87 MB / 411.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 () * 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.0001753/0.6173, allocations: 103.2 kB / 0.5634 GB, free: 14.76 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.6179, allocations: 188.4 kB / 0.5635 GB, free: 14.57 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.618, allocations: 8.188 kB / 0.5635 GB, free: 14.57 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.6182, allocations: 92.11 kB / 0.5636 GB, free: 14.48 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.6189, allocations: 32.67 kB / 0.5637 GB, free: 14.45 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.6207, allocations: 0.7357 MB / 0.5644 GB, free: 13.66 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.6212, allocations: 0.7762 MB / 0.5651 GB, free: 12.86 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.6214, allocations: 31.42 kB / 0.5652 GB, free: 12.83 MB / 411.1 MB Notification: Performance of SimCode: time 3.396e-06/0.6214, allocations: 0 / 0.5652 GB, free: 12.83 MB / 411.1 MB Notification: Performance of Templates: time 0.008509/0.63, allocations: 3.188 MB / 0.5683 GB, free: 9.648 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches