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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002484/0.002484, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.704/1.704, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 106.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2892, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003056/0.2923, allocations: 2.207 MB / 409.3 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.2932, allocations: 0.5744 MB / 409.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.2933, allocations: 0 / 409.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.2935, allocations: 23.78 kB / 409.9 MB, free: 25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.647e-05/0.2936, allocations: 47.61 kB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.2938, allocations: 47.89 kB / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.294, allocations: 222 kB / 410.2 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.2942, allocations: 74.62 kB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.2943, allocations: 79.66 kB / 410.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2944, allocations: 99.59 kB / 410.4 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.2944, allocations: 12 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.299e-05/0.2945, allocations: 20 kB / 410.4 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.2945, allocations: 35.84 kB / 410.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.2946, allocations: 87.59 kB / 410.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.2948, allocations: 232.8 kB / 410.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2948, allocations: 0 / 410.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2948, allocations: 0 / 410.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2948, allocations: 0 / 410.8 MB, free: 24.06 MB / 298.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.0006357/0.2954, allocations: 494.9 kB / 411.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2955, allocations: 8.031 kB / 411.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.2955, allocations: 24.66 kB / 411.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.2958, allocations: 216 kB / 411.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2958, allocations: 12.38 kB / 411.5 MB, free: 23.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.2958, allocations: 24.31 kB / 411.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.2961, allocations: 185.8 kB / 411.7 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2961, allocations: 4 kB / 411.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.2962, allocations: 11.94 kB / 411.7 MB, free: 23.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2962, allocations: 4 kB / 411.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.2965, allocations: 139.9 kB / 411.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009502/0.2974, allocations: 0.7468 MB / 412.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.2977, allocations: 154.5 kB / 412.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.2979, allocations: 99.28 kB / 412.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.2979, allocations: 4 kB / 412.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.298, allocations: 34.56 kB / 412.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.298, allocations: 0 / 412.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004285/0.2984, allocations: 189.7 kB / 413.1 MB, free: 21.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2984, allocations: 55.34 kB / 413.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.2985, allocations: 152.8 kB / 413.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2986, allocations: 25.7 kB / 413.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.2986, allocations: 136.2 kB / 413.5 MB, free: 21.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2986, allocations: 51.34 kB / 413.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.2987, allocations: 33.61 kB / 413.6 MB, free: 21.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.2988, allocations: 326.8 kB / 413.9 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2989, allocations: 55.91 kB / 413.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.299, allocations: 72.09 kB / 414 MB, free: 20.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.2992, allocations: 120.3 kB / 414.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2992, allocations: 3.938 kB / 414.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002659/0.2995, allocations: 177.4 kB / 414.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2995, allocations: 8 kB / 414.3 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2995, allocations: 0 / 414.3 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2995, allocations: 3.938 kB / 414.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.2997, allocations: 44 kB / 414.3 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2997, allocations: 11.92 kB / 414.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.2998, allocations: 19.84 kB / 414.4 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.2999, allocations: 4 kB / 414.4 MB, free: 20.23 MB / 298.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 () * 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.148e-05/0.2999, allocations: 127.3 kB / 414.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.3, allocations: 7.906 kB / 414.5 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.3, allocations: 28.77 kB / 414.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3, allocations: 0 / 414.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3, allocations: 8 kB / 414.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3, allocations: 3.984 kB / 414.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3003, allocations: 261.4 kB / 414.8 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3003, allocations: 0 / 414.8 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.3005, allocations: 43.91 kB / 414.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3005, allocations: 0 / 414.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3005, allocations: 7.938 kB / 414.9 MB, free: 19.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3005, allocations: 3.938 kB / 414.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3005, allocations: 0 / 414.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.3022, allocations: 1.521 MB / 416.4 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.3023, allocations: 92.86 kB / 416.5 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3023, allocations: 8 kB / 416.5 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3024, allocations: 19.97 kB / 416.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3025, allocations: 11.98 kB / 416.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3025, allocations: 0 / 416.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.3026, allocations: 117.9 kB / 416.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3026, allocations: 4 kB / 416.6 MB, free: 17.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.3029, allocations: 55.91 kB / 416.7 MB, free: 17.71 MB / 298.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 () * 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.0001113/0.303, allocations: 107.2 kB / 416.8 MB, free: 17.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3032, allocations: 123.9 kB / 416.9 MB, free: 17.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3033, allocations: 3.938 kB / 416.9 MB, free: 17.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3034, allocations: 60.53 kB / 417 MB, free: 17.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3037, allocations: 22.81 kB / 417 MB, free: 17.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.3046, allocations: 0.7481 MB / 417.7 MB, free: 16.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.3048, allocations: 0.7244 MB / 418.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.3049, allocations: 17.41 kB / 418.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.3049, allocations: 15.44 kB / 418.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3049, allocations: 0 / 418.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of Templates: time 0.003869/0.3088, allocations: 1.859 MB / 420.4 MB, free: 13.97 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../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.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