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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 105.4 kB / 18.35 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 188.1 kB / 19.29 MB, free: 3.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001129, allocations: 51.92 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.0896, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003073/0.09272, allocations: 2.124 MB / 330.9 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008344/0.09357, allocations: 0.5775 MB / 331.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.09367, allocations: 0 / 331.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.09382, allocations: 31.72 kB / 331.5 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.09392, allocations: 59.48 kB / 331.5 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.0941, allocations: 51.92 kB / 331.6 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.09434, allocations: 235 kB / 331.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.09452, allocations: 77.64 kB / 331.9 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.09463, allocations: 83.72 kB / 332 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.09476, allocations: 103.6 kB / 332.1 MB, free: 432 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.0948, allocations: 20 kB / 332.1 MB, free: 412 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.09484, allocations: 24 kB / 332.1 MB, free: 388 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.09489, allocations: 47.89 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.09498, allocations: 99.53 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.09519, allocations: 231.2 kB / 332.5 MB, free: 8 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.0952, allocations: 3.938 kB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09521, allocations: 0 / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.09522, allocations: 0 / 332.5 MB, free: 4 kB / 270.1 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.0007384/0.09596, allocations: 0.491 MB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.09601, allocations: 12.03 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.09607, allocations: 20.66 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.09633, allocations: 216.1 kB / 333.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.09636, allocations: 20.36 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.0964, allocations: 16.38 kB / 333.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.09674, allocations: 177.9 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.09676, allocations: 4 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.09678, allocations: 8 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.0968, allocations: 4 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.09708, allocations: 143.9 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.09821, allocations: 0.7506 MB / 334.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.09858, allocations: 162.5 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.09875, allocations: 88.83 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.09878, allocations: 4 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.09881, allocations: 38.56 kB / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.09882, allocations: 0 / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004254/0.09925, allocations: 193.6 kB / 334.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.09929, allocations: 59.34 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.09942, allocations: 149.8 kB / 335 MB, free: 13.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.09944, allocations: 29.7 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.09953, allocations: 128.2 kB / 335.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.09958, allocations: 51.28 kB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.09964, allocations: 29.72 kB / 335.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.09974, allocations: 322.8 kB / 335.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.09987, allocations: 55.97 kB / 335.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1, allocations: 69.69 kB / 335.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.1002, allocations: 124.8 kB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1002, allocations: 3.984 kB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002936/0.1005, allocations: 177.5 kB / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1006, allocations: 4 kB / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1006, allocations: 0 / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1006, allocations: 7.875 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.1008, allocations: 43.97 kB / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1008, allocations: 0 / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.1009, allocations: 15.84 kB / 336 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1009, allocations: 7.984 kB / 336.1 MB, free: 12.17 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.649e-05/0.101, allocations: 137.8 kB / 336.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1011, allocations: 11.91 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.1011, allocations: 16.78 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1011, allocations: 4 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1011, allocations: 0 / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1011, allocations: 0 / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1014, allocations: 269.4 kB / 336.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1014, allocations: 0 / 336.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.1016, allocations: 35.97 kB / 336.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1016, allocations: 0 / 336.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1016, allocations: 15.94 kB / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1017, allocations: 0 / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1017, allocations: 0 / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.1021, allocations: 299.4 kB / 336.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1021, allocations: 88.92 kB / 336.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1022, allocations: 7.938 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1023, allocations: 15.98 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.1024, allocations: 7.984 kB / 336.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1024, allocations: 8 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.065e-05/0.1025, allocations: 108 kB / 337.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1025, allocations: 0 / 337.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1027, allocations: 51.84 kB / 337.1 MB, free: 11.02 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.949e-05/0.1028, allocations: 107.2 kB / 337.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1031, allocations: 124.5 kB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1031, allocations: 0 / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1032, allocations: 67.91 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1036, allocations: 31.97 kB / 337.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.1045, allocations: 0.5063 MB / 337.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1048, allocations: 0.724 MB / 338.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.91e-05/0.1049, allocations: 17.41 kB / 338.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.1049, allocations: 19.38 kB / 338.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1049, allocations: 0 / 338.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of Templates: time 0.003909/0.1089, allocations: 1.634 MB / 340.3 MB, free: 7.738 MB / 286.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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_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