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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.66 kB / 307.6 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08794, allocations: 50.52 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003355/0.09133, allocations: 2.156 MB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.09239, allocations: 0.5766 MB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.09255, allocations: 4 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.09272, allocations: 31.7 kB / 360.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.09286, allocations: 51.48 kB / 361 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.09309, allocations: 63.86 kB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.09336, allocations: 227 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.09355, allocations: 81.64 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.09367, allocations: 87.7 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.09382, allocations: 95.61 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.09387, allocations: 20 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.09392, allocations: 24 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.09397, allocations: 47.83 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.09408, allocations: 103.6 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.0943, allocations: 231.5 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.09431, allocations: 0 / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09432, allocations: 0 / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.09433, allocations: 0 / 361.9 MB, free: 10.36 MB / 302.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.0006948/0.09503, allocations: 0.4947 MB / 362.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.09507, allocations: 8.031 kB / 362.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.09514, allocations: 20.75 kB / 362.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.09536, allocations: 228 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.09539, allocations: 8.375 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.09543, allocations: 20.38 kB / 362.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.09576, allocations: 181.9 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.09578, allocations: 0 / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.09581, allocations: 7.938 kB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.09583, allocations: 12 kB / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.09614, allocations: 139.9 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.09734, allocations: 0.7351 MB / 363.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.09773, allocations: 162.5 kB / 363.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.09791, allocations: 96.83 kB / 364 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.09794, allocations: 0 / 364 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.09797, allocations: 38.55 kB / 364 MB, free: 8.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.09797, allocations: 0 / 364 MB, free: 8.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000454/0.09843, allocations: 189.6 kB / 364.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.09847, allocations: 55.34 kB / 364.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.09861, allocations: 161 kB / 364.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.09863, allocations: 25.7 kB / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.09871, allocations: 136.2 kB / 364.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.09876, allocations: 55.2 kB / 364.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.09882, allocations: 33.7 kB / 364.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.09893, allocations: 322.8 kB / 365 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.09905, allocations: 47.98 kB / 365.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.0992, allocations: 80.02 kB / 365.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.09946, allocations: 124.6 kB / 365.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.09947, allocations: 4 kB / 365.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003264/0.0998, allocations: 169.5 kB / 365.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.09982, allocations: 4 kB / 365.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.09984, allocations: 0 / 365.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.09986, allocations: 7.938 kB / 365.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1001, allocations: 43.91 kB / 365.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1001, allocations: 4.031 kB / 365.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1002, allocations: 15.89 kB / 365.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1002, allocations: 7.984 kB / 365.5 MB, free: 6.52 MB / 302.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.689e-05/0.1003, allocations: 129.7 kB / 365.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1004, allocations: 11.91 kB / 365.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.1004, allocations: 20.78 kB / 365.7 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1004, allocations: 8 kB / 365.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1004, allocations: 0 / 365.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1004, allocations: 11.97 kB / 365.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.1007, allocations: 265.4 kB / 365.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1007, allocations: 0 / 365.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.1009, allocations: 35.98 kB / 366 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.101, allocations: 4 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.101, allocations: 3.938 kB / 366 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.101, allocations: 3.938 kB / 366 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.101, allocations: 3.984 kB / 366 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.1015, allocations: 306.6 kB / 366.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.1015, allocations: 89.02 kB / 366.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1016, allocations: 3.938 kB / 366.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1017, allocations: 12.03 kB / 366.4 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1018, allocations: 11.98 kB / 366.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1018, allocations: 4 kB / 366.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.962e-05/0.1019, allocations: 119.2 kB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1019, allocations: 0 / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1022, allocations: 47.84 kB / 366.6 MB, free: 5.359 MB / 302.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 0.0001511/0.1023, allocations: 103.2 kB / 366.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1026, allocations: 130.7 kB / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1027, allocations: 4 kB / 366.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1028, allocations: 67.97 kB / 366.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1032, allocations: 19.98 kB / 366.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009993/0.1042, allocations: 0.5352 MB / 367.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1045, allocations: 0.724 MB / 368.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.1046, allocations: 19.44 kB / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1046, allocations: 0 / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of Templates: time 0.003725/0.1083, allocations: 2.015 MB / 370.2 MB, free: 1.68 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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.v,C2.v,L.i,time