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.001689/0.001689, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000971/0.0009711, allocations: 98.78 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.756e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 51.48 MB / 395.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3067/0.407, allocations: 78 MB / 473.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.4072, allocations: 67.91 kB / 473.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007694/0.4149, allocations: 3.274 MB / 476.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4149, allocations: 0 / 476.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4149, allocations: 4.562 kB / 476.5 MB, free: 11.69 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004699/0.4154, allocations: 461.6 kB / 477 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4155, allocations: 8.031 kB / 477 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.4155, allocations: 23.72 kB / 477 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.4157, allocations: 208.9 kB / 477.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4157, allocations: 8 kB / 477.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.4158, allocations: 16.55 kB / 477.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001875/0.416, allocations: 107.2 kB / 477.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.4162, allocations: 141.2 kB / 477.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4162, allocations: 4 kB / 477.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.4162, allocations: 0 / 477.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4162, allocations: 4 kB / 477.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.4172, allocations: 0.7167 MB / 478.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.4174, allocations: 126.6 kB / 478.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.4175, allocations: 79.45 kB / 478.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.4175, allocations: 6.719 kB / 478.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4175, allocations: 37.69 kB / 478.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.4175, allocations: 0 / 478.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002053/0.4177, allocations: 113.6 kB / 478.6 MB, free: 9.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4178, allocations: 55.41 kB / 478.6 MB, free: 9.906 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.4179, allocations: 131.6 kB / 478.7 MB, free: 9.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.4179, allocations: 25.7 kB / 478.8 MB, free: 9.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.4179, allocations: 143.3 kB / 478.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.418, allocations: 49.41 kB / 478.9 MB, free: 9.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.418, allocations: 0 / 478.9 MB, free: 9.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.418, allocations: 323 kB / 479.3 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.4181, allocations: 37.38 kB / 479.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.4182, allocations: 54.38 kB / 479.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.293e-05/0.4182, allocations: 40.69 kB / 479.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4182, allocations: 4 kB / 479.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001668/0.4184, allocations: 145.3 kB / 479.5 MB, free: 9.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4184, allocations: 4 kB / 479.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4184, allocations: 0 / 479.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4185, allocations: 5.594 kB / 479.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.4187, allocations: 42 kB / 479.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4187, allocations: 7.938 kB / 479.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.672e-05/0.4188, allocations: 14.89 kB / 479.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.4188, allocations: 7.438 kB / 479.6 MB, free: 9.02 MB / 346.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 () * 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 4.849e-05/0.4189, allocations: 113 kB / 479.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.4189, allocations: 7.906 kB / 479.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.4189, allocations: 17.06 kB / 479.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4189, allocations: 0 / 479.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4189, allocations: 3.953 kB / 479.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.419, allocations: 1.641 kB / 479.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.4191, allocations: 224 kB / 480 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4192, allocations: 0 / 480 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.4194, allocations: 46.67 kB / 480 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4194, allocations: 0 / 480 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4194, allocations: 1.641 kB / 480 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4194, allocations: 4 kB / 480 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4194, allocations: 0 / 480 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.4196, allocations: 262 kB / 480.3 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.4197, allocations: 94.59 kB / 480.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4197, allocations: 3.125 kB / 480.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4198, allocations: 19 kB / 480.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.4199, allocations: 7.141 kB / 480.4 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.4199, allocations: 3.188 kB / 480.4 MB, free: 8.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.42, allocations: 115.9 kB / 480.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.42, allocations: 0 / 480.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.4202, allocations: 43.84 kB / 480.6 MB, free: 8.156 MB / 346.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 () * 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.000106/0.4203, allocations: 100.6 kB / 480.7 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.4205, allocations: 99.33 kB / 480.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4205, allocations: 0.75 kB / 480.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.4205, allocations: 46.44 kB / 480.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.4208, allocations: 19 kB / 480.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.4214, allocations: 400.4 kB / 481.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.4216, allocations: 0.7229 MB / 481.9 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.4216, allocations: 13.91 kB / 482 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.4217, allocations: 15.44 kB / 482 MB, free: 6.848 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4217, allocations: 0 / 482 MB, free: 6.848 MB / 346.7 MB Notification: Performance of Templates: time 0.002988/0.4247, allocations: 1.268 MB / 483.2 MB, free: 5.941 MB / 346.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_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time