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.001634/0.001634, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 199.8 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4235, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004573/0.4282, allocations: 2.144 MB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.4297, allocations: 0.5688 MB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.4299, allocations: 7.938 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.4301, allocations: 31.7 kB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.4303, allocations: 51.5 kB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.4306, allocations: 63.84 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.431, allocations: 227.1 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.4313, allocations: 73.66 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.4315, allocations: 95.62 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.4317, allocations: 99.61 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.4317, allocations: 20 kB / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.4318, allocations: 20 kB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.4318, allocations: 47.84 kB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.432, allocations: 99.59 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.4324, allocations: 236.3 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4324, allocations: 0 / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4324, allocations: 4 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4324, allocations: 0 / 413 MB, free: 13.8 MB / 334.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.001108/0.4335, allocations: 0.491 MB / 413.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.4336, allocations: 8.031 kB / 413.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.4337, allocations: 20.66 kB / 413.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.4342, allocations: 220 kB / 413.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.4342, allocations: 16.38 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.4343, allocations: 16.38 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.4347, allocations: 189.8 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4347, allocations: 7.938 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.4348, allocations: 8 kB / 414 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.4348, allocations: 4 kB / 414 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.4351, allocations: 139.9 kB / 414.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.4364, allocations: 0.739 MB / 414.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.4368, allocations: 154.6 kB / 415 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.437, allocations: 100.8 kB / 415.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.4371, allocations: 0 / 415.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.4371, allocations: 34.56 kB / 415.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.4371, allocations: 0 / 415.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005452/0.4377, allocations: 185.3 kB / 415.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.4377, allocations: 55.34 kB / 415.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4379, allocations: 162.2 kB / 415.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.4379, allocations: 29.7 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4381, allocations: 136.1 kB / 415.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4381, allocations: 43.36 kB / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.4382, allocations: 33.72 kB / 415.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4384, allocations: 318.8 kB / 416.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4385, allocations: 55.91 kB / 416.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4386, allocations: 81.61 kB / 416.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.4389, allocations: 120.6 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4389, allocations: 0 / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003316/0.4393, allocations: 177.4 kB / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4393, allocations: 8.031 kB / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4393, allocations: 0 / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.4394, allocations: 7.938 kB / 416.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4396, allocations: 39.97 kB / 416.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4396, allocations: 3.938 kB / 416.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.4397, allocations: 19.83 kB / 416.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4398, allocations: 4 kB / 416.6 MB, free: 9.973 MB / 334.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 0.0001279/0.4399, allocations: 129.8 kB / 416.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.44, allocations: 19.89 kB / 416.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.44, allocations: 16.78 kB / 416.8 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.44, allocations: 4 kB / 416.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.44, allocations: 0 / 416.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.44, allocations: 3.984 kB / 416.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.4404, allocations: 265.4 kB / 417 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4404, allocations: 3.984 kB / 417 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.4407, allocations: 35.92 kB / 417.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4407, allocations: 4 kB / 417.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4407, allocations: 11.88 kB / 417.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4407, allocations: 7.984 kB / 417.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4407, allocations: 4 kB / 417.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.4414, allocations: 295.4 kB / 417.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.4414, allocations: 88.92 kB / 417.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.4415, allocations: 7.938 kB / 417.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.4416, allocations: 16.03 kB / 417.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.4417, allocations: 7.984 kB / 417.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4417, allocations: 8 kB / 417.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4419, allocations: 111.2 kB / 417.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4419, allocations: 0 / 417.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.4422, allocations: 51.84 kB / 417.7 MB, free: 8.805 MB / 334.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.0001971/0.4424, allocations: 103.1 kB / 417.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.4428, allocations: 127.9 kB / 417.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4428, allocations: 0 / 417.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4429, allocations: 59.92 kB / 418 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4433, allocations: 26.94 kB / 418 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4445, allocations: 0.5218 MB / 418.5 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4449, allocations: 0.724 MB / 419.2 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.252e-05/0.445, allocations: 13.42 kB / 419.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.445, allocations: 15.44 kB / 419.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4451, allocations: 0 / 419.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of Templates: time 0.00533/0.4504, allocations: 1.689 MB / 420.9 MB, free: 5.492 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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.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