Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.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) 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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 181 kB / 17.41 MB, free: 4.289 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.299/1.299, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007662/0.0007662, allocations: 87.72 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 16 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 47.56 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09466/0.3162, allocations: 77.62 MB / 453.3 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.3165, allocations: 75.97 kB / 453.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.3268, allocations: 4.046 MB / 457.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3269, allocations: 0 / 457.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.3269, allocations: 4 kB / 457.5 MB, free: 14.86 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005857/0.3275, allocations: 495.1 kB / 458 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3275, allocations: 15.97 kB / 458 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.3276, allocations: 32.56 kB / 458 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3278, allocations: 232.6 kB / 458.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3279, allocations: 12.81 kB / 458.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.3279, allocations: 24.38 kB / 458.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.3283, allocations: 195.8 kB / 458.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3283, allocations: 4.188 kB / 458.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3283, allocations: 15.94 kB / 458.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3283, allocations: 4 kB / 458.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.3286, allocations: 141.6 kB / 458.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.3294, allocations: 0.6272 MB / 459.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.3297, allocations: 178.5 kB / 459.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3299, allocations: 103.9 kB / 459.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3299, allocations: 7.859 kB / 459.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.33, allocations: 50.47 kB / 459.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.33, allocations: 0 / 459.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001794/0.3318, allocations: 1.071 MB / 460.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3318, allocations: 59.34 kB / 460.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.332, allocations: 187.1 kB / 460.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.332, allocations: 29.7 kB / 460.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.3321, allocations: 140.7 kB / 461.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.3322, allocations: 110.3 kB / 461.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.3322, allocations: 4 kB / 461.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3323, allocations: 334.8 kB / 461.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3325, allocations: 71.72 kB / 461.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3326, allocations: 112.7 kB / 461.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.333, allocations: 201.3 kB / 461.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.333, allocations: 0 / 461.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004731/0.3335, allocations: 298.5 kB / 462.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3335, allocations: 7.984 kB / 462.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3335, allocations: 0 / 462.2 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.3337, allocations: 40.84 kB / 462.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3339, allocations: 59.91 kB / 462.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.3353, allocations: 1.581 MB / 463.8 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.3354, allocations: 8.031 kB / 463.9 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3354, allocations: 12 kB / 463.9 MB, free: 8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.3355, allocations: 137.8 kB / 464 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.3356, allocations: 19.72 kB / 464 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.3357, allocations: 30.64 kB / 464 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3357, allocations: 7.938 kB / 464.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3357, allocations: 8.062 kB / 464.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3357, allocations: 0 / 464.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3367, allocations: 0.7781 MB / 464.8 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3367, allocations: 0 / 464.8 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.337, allocations: 67.89 kB / 464.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.3371, allocations: 32.78 kB / 464.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3371, allocations: 8 kB / 464.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.3382, allocations: 1.382 MB / 466.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3382, allocations: 4.031 kB / 466.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.3389, allocations: 0.4895 MB / 466.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.3389, allocations: 96.92 kB / 466.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.339, allocations: 4 kB / 466.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3391, allocations: 8 kB / 466.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.3392, allocations: 27.95 kB / 467 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3392, allocations: 11.98 kB / 467 MB, free: 4.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.3393, allocations: 127.5 kB / 467.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3393, allocations: 3.938 kB / 467.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003781/0.3397, allocations: 72 kB / 467.2 MB, free: 4.422 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.3398, allocations: 111.1 kB / 467.3 MB, free: 4.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006087/0.3405, allocations: 339.3 kB / 467.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3405, allocations: 4.125 kB / 467.6 MB, free: 3.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.3408, allocations: 246.8 kB / 467.9 MB, free: 3.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.3413, allocations: 51.98 kB / 467.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3425, allocations: 0.8999 MB / 468.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3428, allocations: 0.7525 MB / 469.6 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.3429, allocations: 27.44 kB / 469.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3429, allocations: 0 / 469.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of Templates: time 0.005227/0.3481, allocations: 3.808 MB / 473.4 MB, free: 14.11 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches