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.001206/0.001206, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4755, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.006162/0.4817, allocations: 2.162 MB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.4836, allocations: 0.5688 MB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.4838, allocations: 4 kB / 412 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.4841, allocations: 31.7 kB / 412 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.4843, allocations: 55.48 kB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.4846, allocations: 47.94 kB / 412.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.485, allocations: 235 kB / 412.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.4853, allocations: 85.64 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.4855, allocations: 87.7 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.4857, allocations: 95.61 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.4858, allocations: 20 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.4858, allocations: 20 kB / 412.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.4859, allocations: 39.91 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.486, allocations: 111.5 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.4865, allocations: 234.9 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4865, allocations: 4 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4865, allocations: 0 / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.4865, 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.001049/0.4876, allocations: 494.6 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.4877, allocations: 8.031 kB / 413.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.081e-05/0.4878, allocations: 24.8 kB / 413.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.4882, allocations: 232 kB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.4883, allocations: 12.38 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.4883, allocations: 24.31 kB / 413.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.4888, allocations: 181.8 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4888, allocations: 0 / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.4888, allocations: 8 kB / 414 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4888, allocations: 4 kB / 414 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.4892, allocations: 147.8 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.4905, allocations: 0.747 MB / 414.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.491, allocations: 154.6 kB / 415 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.4912, allocations: 92.83 kB / 415.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.4912, allocations: 7.984 kB / 415.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.4913, allocations: 34.56 kB / 415.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.4913, allocations: 0 / 415.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005334/0.4918, allocations: 181.7 kB / 415.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.4919, allocations: 63.33 kB / 415.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.4921, allocations: 150.5 kB / 415.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.4921, allocations: 25.7 kB / 415.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4922, allocations: 140.3 kB / 415.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.4923, allocations: 55.56 kB / 415.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.4925, allocations: 29.7 kB / 415.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4927, allocations: 326.8 kB / 416.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.4928, allocations: 55.92 kB / 416.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.4929, allocations: 72.09 kB / 416.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.4932, allocations: 125.6 kB / 416.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4932, allocations: 3.938 kB / 416.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003493/0.4936, allocations: 176.6 kB / 416.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.4936, allocations: 15.92 kB / 416.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4936, allocations: 0 / 416.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.4936, allocations: 3.938 kB / 416.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.4939, allocations: 40.02 kB / 416.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4939, allocations: 4 kB / 416.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.494, allocations: 15.88 kB / 416.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.494, allocations: 8 kB / 416.6 MB, free: 9.949 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.0001446/0.4942, allocations: 125.8 kB / 416.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.4942, allocations: 11.91 kB / 416.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.4943, allocations: 28.77 kB / 416.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4943, allocations: 0 / 416.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4943, allocations: 8 kB / 416.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4943, allocations: 0 / 416.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.4947, allocations: 257.5 kB / 417.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4947, allocations: 0 / 417.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.4949, allocations: 35.98 kB / 417.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4949, allocations: 3.938 kB / 417.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.4949, allocations: 11.92 kB / 417.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4949, allocations: 0 / 417.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.495, allocations: 0 / 417.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.4955, allocations: 299.3 kB / 417.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.4955, allocations: 96.95 kB / 417.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.4956, allocations: 3.938 kB / 417.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.4957, allocations: 12.03 kB / 417.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.4958, allocations: 11.98 kB / 417.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4958, allocations: 8.094 kB / 417.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4959, allocations: 115.2 kB / 417.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4959, allocations: 0 / 417.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.4962, allocations: 47.89 kB / 417.7 MB, free: 8.797 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.0002127/0.4965, allocations: 103.2 kB / 417.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.4968, allocations: 127.9 kB / 417.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4969, allocations: 8 kB / 417.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.497, allocations: 59.91 kB / 418 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.4974, allocations: 27.98 kB / 418 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4987, allocations: 0.5205 MB / 418.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.4992, allocations: 0.7201 MB / 419.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.629e-05/0.4993, allocations: 9.422 kB / 419.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.4994, allocations: 19.44 kB / 419.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4994, allocations: 0 / 419.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of Templates: time 0.006109/0.5055, allocations: 1.655 MB / 420.9 MB, free: 5.512 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