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.001391/0.001391, allocations: 104.2 kB / 18.4 MB, free: 4.656 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.001478/0.001478, allocations: 188.3 kB / 19.33 MB, free: 3.738 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.374/1.374, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001268/0.001268, allocations: 55.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08929, allocations: 46.6 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003227/0.09256, allocations: 2.129 MB / 377.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.09366, allocations: 0.5773 MB / 378.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.09386, allocations: 4 kB / 378.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.09405, allocations: 35.7 kB / 378.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.0942, allocations: 51.48 kB / 378.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.09443, allocations: 51.94 kB / 378.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.09475, allocations: 238.9 kB / 378.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.09495, allocations: 77.62 kB / 379 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.09509, allocations: 87.7 kB / 379.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.09525, allocations: 103.6 kB / 379.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.0953, allocations: 24 kB / 379.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.09534, allocations: 20 kB / 379.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.09539, allocations: 43.84 kB / 379.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.09551, allocations: 107.5 kB / 379.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.09577, allocations: 235.2 kB / 379.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09578, allocations: 0 / 379.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09579, allocations: 0 / 379.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.09581, allocations: 0 / 379.6 MB, free: 0.7852 MB / 318.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.0007368/0.09655, allocations: 0.491 MB / 380.1 MB, free: 252 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.0966, allocations: 8.031 kB / 380.1 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.09666, allocations: 20.75 kB / 380.1 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1649/0.2616, allocations: 215.4 kB / 380.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.2617, allocations: 14.28 kB / 380.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.2617, allocations: 18.67 kB / 380.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.2621, allocations: 177.8 kB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2621, allocations: 0 / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.2622, allocations: 9.188 kB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2622, allocations: 5.703 kB / 380.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.2625, allocations: 150.9 kB / 380.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2635, allocations: 0.7355 MB / 381.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.2639, allocations: 157.6 kB / 381.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.264, allocations: 93.45 kB / 381.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.264, allocations: 1.375 kB / 381.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.2641, allocations: 35.17 kB / 381.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2641, allocations: 2.016 kB / 381.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004118/0.2645, allocations: 191.5 kB / 381.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.2645, allocations: 52.78 kB / 381.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.2646, allocations: 144.9 kB / 382.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2646, allocations: 31.55 kB / 382.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.2647, allocations: 133.7 kB / 382.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.2647, allocations: 48.47 kB / 382.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.2648, allocations: 34.3 kB / 382.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.2648, allocations: 328.1 kB / 382.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.265, allocations: 48.73 kB / 382.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2651, allocations: 73.7 kB / 382.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.2653, allocations: 124.8 kB / 382.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2653, allocations: 0 / 382.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003237/0.2657, allocations: 183.2 kB / 383.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2657, allocations: 5.562 kB / 383.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.2657, allocations: 1.469 kB / 383.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2657, allocations: 4.719 kB / 383.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.266, allocations: 38.56 kB / 383.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.266, allocations: 5.5 kB / 383.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.2661, allocations: 26.05 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2661, allocations: 4.109 kB / 383.1 MB, free: 11.73 MB / 318.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 7.717e-05/0.2662, allocations: 126.2 kB / 383.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.2662, allocations: 14.58 kB / 383.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.2663, allocations: 17.19 kB / 383.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2663, allocations: 4.719 kB / 383.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2663, allocations: 0.5 kB / 383.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2663, allocations: 5.109 kB / 383.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.2666, allocations: 268.6 kB / 383.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2666, allocations: 0.9375 kB / 383.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2668, allocations: 38.58 kB / 383.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2668, allocations: 1.062 kB / 383.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2668, allocations: 2.359 kB / 383.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2668, allocations: 5.375 kB / 383.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2669, allocations: 0.5312 kB / 383.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.2673, allocations: 302.5 kB / 383.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.2673, allocations: 89.53 kB / 384 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2674, allocations: 1.922 kB / 384 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2675, allocations: 18.88 kB / 384 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.2676, allocations: 12.06 kB / 384 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.2676, allocations: 7.203 kB / 384 MB, free: 11.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.246e-05/0.2677, allocations: 115.2 kB / 384.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2677, allocations: 0 / 384.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.2679, allocations: 47.78 kB / 384.2 MB, free: 10.94 MB / 318.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.08e-05/0.268, allocations: 108.4 kB / 384.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.2683, allocations: 134.6 kB / 384.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2683, allocations: 0 / 384.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2685, allocations: 64.34 kB / 384.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2688, allocations: 24.94 kB / 384.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.2696, allocations: 0.5407 MB / 385.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2698, allocations: 0.7204 MB / 385.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.2699, allocations: 15.38 kB / 385.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2699, allocations: 4 kB / 385.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of Templates: time 0.003817/0.2737, allocations: 2.032 MB / 387.8 MB, free: 9.547 MB / 318.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 -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.v,C2.v,L.i,time