Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 180.3 kB / 8.479 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.2 MB / 214.1 MB, free: 13.86 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.001036/0.001036, allocations: 98.44 kB / 262.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.076e-05, allocations: 0 / 315 MB, free: 8.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1989, allocations: 47.57 MB / 362.5 MB, free: 45.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08748/0.2864, allocations: 75.56 MB / 438.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.2867, allocations: 67.97 kB / 438.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.00822/0.2949, allocations: 2.8 MB / 441 MB, free: 7.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.295, allocations: 0 / 441 MB, free: 7.539 MB / 330.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.0005809/0.2956, allocations: 476.7 kB / 441.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2956, allocations: 8.031 kB / 441.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.2957, allocations: 19.72 kB / 441.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2959, allocations: 214.8 kB / 441.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2959, allocations: 12 kB / 441.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.2959, allocations: 11.98 kB / 441.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002092/0.2962, allocations: 104 kB / 441.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.2964, allocations: 133.6 kB / 441.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2964, allocations: 0 / 441.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.2965, allocations: 7.906 kB / 441.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2965, allocations: 4 kB / 441.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2977, allocations: 0.7122 MB / 442.6 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.2979, allocations: 93.7 kB / 442.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.298, allocations: 84.78 kB / 442.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2981, allocations: 0.5625 kB / 442.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2981, allocations: 39.55 kB / 442.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2981, allocations: 0 / 442.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002494/0.2984, allocations: 117.5 kB / 443 MB, free: 5.355 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2984, allocations: 51.41 kB / 443 MB, free: 5.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2985, allocations: 133.2 kB / 443.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2985, allocations: 26.45 kB / 443.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2986, allocations: 132 kB / 443.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.2987, allocations: 47.36 kB / 443.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.2987, allocations: 0 / 443.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2988, allocations: 318.8 kB / 443.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.2989, allocations: 40 kB / 443.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.2989, allocations: 57.7 kB / 443.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.299, allocations: 46.02 kB / 443.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.299, allocations: 2.531 kB / 443.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002166/0.2993, allocations: 149.3 kB / 444 MB, free: 4.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.2993, allocations: 4 kB / 444 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2993, allocations: 0 / 444 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2993, allocations: 4 kB / 444 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2995, allocations: 40.02 kB / 444 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2996, allocations: 4 kB / 444 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2997, allocations: 18.58 kB / 444 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2997, allocations: 4 kB / 444 MB, free: 4.25 MB / 330.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 7.275e-05/0.2998, allocations: 108.9 kB / 444.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.2998, allocations: 11.81 kB / 444.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.2999, allocations: 20.56 kB / 444.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2999, allocations: 3.984 kB / 444.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2999, allocations: 0 / 444.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2999, allocations: 0 / 444.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3001, allocations: 226 kB / 444.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3001, allocations: 0 / 444.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.3004, allocations: 35.98 kB / 444.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3004, allocations: 7.938 kB / 444.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3004, allocations: 4 kB / 444.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3004, allocations: 0 / 444.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3004, allocations: 3.984 kB / 444.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003003/0.3007, allocations: 276.5 kB / 444.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3008, allocations: 84.92 kB / 444.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3008, allocations: 4 kB / 444.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.301, allocations: 15.98 kB / 444.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.301, allocations: 7.984 kB / 444.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3011, allocations: 6.062 kB / 444.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.119e-05/0.3011, allocations: 104.8 kB / 444.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.3014, allocations: 43.84 kB / 445 MB, free: 3.23 MB / 330.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.0001307/0.3015, allocations: 99.23 kB / 445.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3018, allocations: 103.4 kB / 445.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.3018, allocations: 4 kB / 445.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.3018, allocations: 49.44 kB / 445.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.3021, allocations: 23.89 kB / 445.2 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/0.3029, allocations: 383.4 kB / 445.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.3032, allocations: 0.7391 MB / 446.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3032, allocations: 3.938 kB / 446.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of Templates: time 0.003675/0.3069, allocations: 1.571 MB / 447.9 MB, free: 272 kB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../files/Modelica_3.2.3_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