Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009475/0.0009476, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008468/0.0008468, allocations: 102.6 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002142, allocations: 11.94 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1824, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08376/0.2662, allocations: 78.73 MB / 488.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.2664, allocations: 67.97 kB / 488.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008075/0.2745, allocations: 3.327 MB / 491.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2746, allocations: 0 / 491.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2746, allocations: 4 kB / 491.5 MB, free: 8.477 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000561/0.2751, allocations: 474.6 kB / 492 MB, free: 7.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2752, allocations: 12.03 kB / 492 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.2752, allocations: 15.81 kB / 492 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2754, allocations: 213.7 kB / 492.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2755, allocations: 11.95 kB / 492.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.2755, allocations: 20 kB / 492.3 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.2758, allocations: 181.5 kB / 492.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.2758, allocations: 4 kB / 492.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.2759, allocations: 12 kB / 492.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2759, allocations: 4 kB / 492.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.2762, allocations: 143.9 kB / 492.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.2773, allocations: 0.7663 MB / 493.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.2777, allocations: 178.3 kB / 493.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2777, allocations: 0 / 493.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.2777, allocations: 38.56 kB / 493.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.2777, allocations: 0 / 493.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004192/0.2781, allocations: 197.7 kB / 493.8 MB, free: 6.055 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.2782, allocations: 55.41 kB / 493.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2783, allocations: 140.5 kB / 494 MB, free: 5.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.2783, allocations: 29.7 kB / 494 MB, free: 5.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.2784, allocations: 140.1 kB / 494.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.2784, allocations: 39.36 kB / 494.2 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.2784, allocations: 4 kB / 494.2 MB, free: 5.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.2785, allocations: 326.8 kB / 494.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.2787, allocations: 59.97 kB / 494.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.2788, allocations: 71.92 kB / 494.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2789, allocations: 55.98 kB / 494.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2789, allocations: 3.938 kB / 494.7 MB, free: 5.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003135/0.2793, allocations: 181.5 kB / 494.9 MB, free: 4.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2793, allocations: 8 kB / 494.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2793, allocations: 0 / 494.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2793, allocations: 0 / 494.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2795, allocations: 55.84 kB / 494.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2795, allocations: 4.031 kB / 494.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2797, allocations: 23.83 kB / 495 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2797, allocations: 7.938 kB / 495 MB, free: 4.824 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.589e-05/0.2798, allocations: 125.8 kB / 495.1 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.2798, allocations: 19.73 kB / 495.1 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.2799, allocations: 16.84 kB / 495.1 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2799, allocations: 3.938 kB / 495.1 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2799, allocations: 7.953 kB / 495.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2799, allocations: 3.984 kB / 495.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.2801, allocations: 261.5 kB / 495.4 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2801, allocations: 0 / 495.4 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.2804, allocations: 35.97 kB / 495.4 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2804, allocations: 4 kB / 495.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2804, allocations: 0 / 495.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2804, allocations: 0 / 495.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2804, allocations: 0 / 495.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.2808, allocations: 327.2 kB / 495.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.2809, allocations: 85.02 kB / 495.8 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.2809, allocations: 4 kB / 495.8 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2811, allocations: 24.03 kB / 495.9 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.2811, allocations: 7.984 kB / 495.9 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2811, allocations: 0 / 495.9 MB, free: 3.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.624e-05/0.2812, allocations: 118.6 kB / 496 MB, free: 3.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2812, allocations: 0 / 496 MB, free: 3.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.2815, allocations: 51.8 kB / 496 MB, free: 3.656 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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 (13): * Single equations (assignments): 13 * 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.0001155/0.2816, allocations: 107.2 kB / 496.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.2819, allocations: 130.7 kB / 496.3 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2819, allocations: 4 kB / 496.3 MB, free: 3.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.282, allocations: 63.97 kB / 496.3 MB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.2822, allocations: 22.52 kB / 496.4 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.2831, allocations: 0.6382 MB / 497 MB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2834, allocations: 0.7321 MB / 497.7 MB, free: 1.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.2835, allocations: 13.42 kB / 497.7 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.2835, allocations: 11.44 kB / 497.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2835, allocations: 0 / 497.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of Templates: time 0.003381/0.2869, allocations: 1.467 MB / 499.2 MB, free: 448 kB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time