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.001209/0.001209, allocations: 111.9 kB / 17.68 MB, free: 5.473 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.001347/0.001347, allocations: 192 kB / 18.62 MB, free: 4.543 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.501/1.501, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 47.41 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1023, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003661/0.106, allocations: 2.144 MB / 353.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008703/0.1069, allocations: 0.5376 MB / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.107, allocations: 4 kB / 354.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1072, allocations: 27.72 kB / 354.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.1073, allocations: 55.48 kB / 354.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.1075, allocations: 59.86 kB / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1078, allocations: 231 kB / 354.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.108, allocations: 81.64 kB / 354.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1081, allocations: 79.78 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1082, allocations: 107.6 kB / 354.8 MB, free: 372 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.1083, allocations: 20 kB / 354.8 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.635e-05/0.1083, allocations: 20 kB / 354.8 MB, free: 332 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1084, allocations: 43.84 kB / 354.9 MB, free: 288 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1085, allocations: 107.5 kB / 355 MB, free: 180 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1087, allocations: 227.2 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1087, allocations: 4 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1088, allocations: 0 / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1088, allocations: 0 / 355.2 MB, free: 15.95 MB / 302.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.0007501/0.1095, allocations: 494.8 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1096, allocations: 8.031 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.1096, allocations: 28.66 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1099, allocations: 224 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.11, allocations: 12.38 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.11, allocations: 16.36 kB / 356 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1104, allocations: 181.9 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1104, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.1104, allocations: 8 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1104, allocations: 4 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1107, allocations: 147.8 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1119, allocations: 0.7583 MB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.1122, allocations: 154.6 kB / 357.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1124, allocations: 88.83 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1124, allocations: 4 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1125, allocations: 38.56 kB / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1125, allocations: 0 / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000449/0.1129, allocations: 185.6 kB / 357.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.113, allocations: 59.34 kB / 357.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1131, allocations: 157 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1132, allocations: 25.7 kB / 357.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.1132, allocations: 136.2 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1133, allocations: 51.28 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.1133, allocations: 33.62 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1135, allocations: 326.8 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1136, allocations: 55.92 kB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1137, allocations: 69.69 kB / 358.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.114, allocations: 125.6 kB / 358.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.114, allocations: 0 / 358.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003097/0.1143, allocations: 173.4 kB / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1143, allocations: 10.5 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1143, allocations: 0 / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1143, allocations: 3.969 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1146, allocations: 47.97 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1146, allocations: 4 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.199e-05/0.1147, allocations: 7.906 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1147, allocations: 8 kB / 358.8 MB, free: 12.11 MB / 302.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.0001106/0.1148, allocations: 125.8 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1149, allocations: 11.89 kB / 358.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.1149, allocations: 24.72 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1149, allocations: 4 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.115, allocations: 0 / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.115, allocations: 4 kB / 359 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.1153, allocations: 269.4 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1153, allocations: 0 / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.1155, allocations: 39.97 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1155, allocations: 0 / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1155, allocations: 7.938 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1155, allocations: 0 / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1155, allocations: 0 / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.116, allocations: 303.2 kB / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.116, allocations: 92.98 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1161, allocations: 7.938 kB / 359.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1162, allocations: 11.98 kB / 359.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.1163, allocations: 8 kB / 359.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1163, allocations: 11.98 kB / 359.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.705e-05/0.1164, allocations: 111.3 kB / 359.8 MB, free: 11 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1164, allocations: 0 / 359.8 MB, free: 11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1167, allocations: 47.84 kB / 359.9 MB, free: 10.96 MB / 302.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.0001489/0.1168, allocations: 107.7 kB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.1172, allocations: 119.9 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1172, allocations: 4.062 kB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1173, allocations: 71.03 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1176, allocations: 27.98 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1187, allocations: 0.506 MB / 360.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1189, allocations: 0.7201 MB / 361.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.119, allocations: 17.42 kB / 361.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.1191, allocations: 15.44 kB / 361.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1191, allocations: 0 / 361.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of Templates: time 0.004424/0.1235, allocations: 1.632 MB / 363.1 MB, free: 7.695 MB / 302.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 -s cvode -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.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