Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001122/0.001122, allocations: 111 kB / 17.74 MB, free: 5.332 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.001098/0.001098, allocations: 196.3 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 35.94 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2612, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003134/0.2644, allocations: 2.151 MB / 403.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.2654, allocations: 0.5337 MB / 404.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2655, allocations: 8 kB / 404.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2657, allocations: 27.72 kB / 404.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2658, allocations: 51.48 kB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.266, allocations: 55.92 kB / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.2663, allocations: 239 kB / 404.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.2664, allocations: 81.66 kB / 404.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2666, allocations: 79.78 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2667, allocations: 99.59 kB / 404.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.2668, allocations: 23.94 kB / 404.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.2668, allocations: 20 kB / 404.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.2668, allocations: 43.89 kB / 404.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.2669, allocations: 103.5 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2672, allocations: 240.3 kB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2672, allocations: 0 / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2672, allocations: 0 / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2672, allocations: 0 / 405.1 MB, free: 5.145 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.0008329/0.2681, allocations: 498.8 kB / 405.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2681, allocations: 8.031 kB / 405.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.2682, allocations: 20.75 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.2684, allocations: 220 kB / 405.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2685, allocations: 12.38 kB / 405.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.2685, allocations: 20.38 kB / 405.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.2689, allocations: 181.9 kB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2689, allocations: 0 / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.2689, allocations: 4 kB / 406.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2689, allocations: 8 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.2692, allocations: 143.8 kB / 406.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2704, allocations: 0.7506 MB / 407 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.2708, allocations: 162.5 kB / 407.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.271, allocations: 92.83 kB / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.271, allocations: 0 / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.271, allocations: 34.56 kB / 407.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.271, allocations: 4 kB / 407.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004503/0.2715, allocations: 185.7 kB / 407.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2715, allocations: 59.34 kB / 407.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2717, allocations: 151.6 kB / 407.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2717, allocations: 25.7 kB / 407.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.2718, allocations: 136.1 kB / 407.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2718, allocations: 47.34 kB / 407.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.2719, allocations: 33.72 kB / 407.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.272, allocations: 326.8 kB / 408.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2721, allocations: 47.97 kB / 408.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2723, allocations: 73.64 kB / 408.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2725, allocations: 125.6 kB / 408.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2725, allocations: 0 / 408.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000319/0.2728, allocations: 181.3 kB / 408.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2729, allocations: 14.59 kB / 408.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2729, allocations: 0 / 408.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2729, allocations: 3.938 kB / 408.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.2731, allocations: 43.97 kB / 408.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2731, allocations: 4 kB / 408.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.2732, allocations: 19.88 kB / 408.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.2733, allocations: 4 kB / 408.7 MB, free: 1.312 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 9.832e-05/0.2734, allocations: 129.7 kB / 408.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.2734, allocations: 11.89 kB / 408.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.2735, allocations: 24.78 kB / 408.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2735, allocations: 0 / 408.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2735, allocations: 0 / 408.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2735, allocations: 0 / 408.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.2738, allocations: 269.5 kB / 409.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2738, allocations: 0 / 409.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.274, allocations: 39.97 kB / 409.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.274, allocations: 0 / 409.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.274, allocations: 3.938 kB / 409.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.274, allocations: 4 kB / 409.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.274, allocations: 0 / 409.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.2745, allocations: 306.6 kB / 409.5 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.2746, allocations: 93.05 kB / 409.6 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.2746, allocations: 3.938 kB / 409.6 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2747, allocations: 19.92 kB / 409.6 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.2748, allocations: 4 kB / 409.6 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2748, allocations: 7.984 kB / 409.6 MB, free: 328 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.571e-05/0.2749, allocations: 113.1 kB / 409.7 MB, free: 216 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2749, allocations: 4 kB / 409.7 MB, free: 212 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000282/0.2752, allocations: 47.84 kB / 409.8 MB, free: 164 kB / 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 0.0001144/0.2753, allocations: 103.7 kB / 409.9 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.2756, allocations: 128 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2757, allocations: 0 / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.2758, allocations: 59.91 kB / 410.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2761, allocations: 36.03 kB / 410.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/0.2771, allocations: 0.5275 MB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2774, allocations: 0.7278 MB / 411.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.2774, allocations: 15.44 kB / 411.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2774, allocations: 0 / 411.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.003513/0.2809, allocations: 2.022 MB / 413.4 MB, free: 12.48 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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