Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001706/0.001706, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.002071/0.00207, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 225.2 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 55.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09759, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00374/0.1014, allocations: 2.132 MB / 330.9 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1026, allocations: 0.5697 MB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1027, allocations: 4 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.1029, allocations: 31.7 kB / 331.5 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.103, allocations: 55.48 kB / 331.5 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1032, allocations: 47.94 kB / 331.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1035, allocations: 235 kB / 331.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1037, allocations: 81.64 kB / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1038, allocations: 87.77 kB / 332 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1039, allocations: 103.5 kB / 332.1 MB, free: 420 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.104, allocations: 20 kB / 332.1 MB, free: 400 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.471e-05/0.104, allocations: 20 kB / 332.1 MB, free: 380 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.1041, allocations: 43.91 kB / 332.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.1042, allocations: 99.53 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1045, allocations: 231.2 kB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1045, allocations: 3.984 kB / 332.5 MB, free: 0 / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1045, allocations: 0 / 332.5 MB, free: 0 / 270.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1045, allocations: 4.047 kB / 332.5 MB, free: 15.99 MB / 286.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.0007577/0.1053, allocations: 498.7 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1053, allocations: 12.03 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.1054, allocations: 24.59 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1057, allocations: 221.2 kB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1057, allocations: 12.38 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.1058, allocations: 24.38 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1061, allocations: 177.9 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1061, allocations: 0 / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1062, allocations: 8 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1062, allocations: 4 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.1065, allocations: 143.9 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1076, allocations: 0.7467 MB / 334.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.108, allocations: 158.5 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1082, allocations: 92.83 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1082, allocations: 7.984 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1082, allocations: 34.55 kB / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1083, allocations: 0 / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004483/0.1087, allocations: 193.6 kB / 334.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1088, allocations: 55.34 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1089, allocations: 153.8 kB / 335 MB, free: 13.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.109, allocations: 25.7 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.1091, allocations: 132.2 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.1091, allocations: 51.3 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.1092, allocations: 37.7 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1093, allocations: 322.8 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1094, allocations: 47.98 kB / 335.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1096, allocations: 73.67 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.1098, allocations: 125.5 kB / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1098, allocations: 0 / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003093/0.1102, allocations: 180.8 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1102, allocations: 4 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1102, allocations: 0 / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.1102, allocations: 11.92 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1104, allocations: 39.92 kB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1105, allocations: 3.984 kB / 336 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.1106, allocations: 19.92 kB / 336.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1106, allocations: 7.938 kB / 336.1 MB, free: 12.16 MB / 286.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.0001056/0.1107, allocations: 125.8 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.1107, allocations: 15.91 kB / 336.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.1108, allocations: 16.78 kB / 336.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1108, allocations: 4 kB / 336.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1108, allocations: 3.984 kB / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1108, allocations: 0 / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1111, allocations: 265.4 kB / 336.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1111, allocations: 4 kB / 336.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.1113, allocations: 35.98 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1113, allocations: 4 kB / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1114, allocations: 3.938 kB / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1114, allocations: 0 / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1114, allocations: 3.984 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.1118, allocations: 299.8 kB / 336.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.1119, allocations: 92.92 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1119, allocations: 3.938 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1121, allocations: 16.03 kB / 336.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1121, allocations: 7.984 kB / 336.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1121, allocations: 4 kB / 336.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.1122, allocations: 116 kB / 337.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1122, allocations: 0 / 337.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1125, allocations: 51.84 kB / 337.1 MB, free: 11.01 MB / 286.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.0001148/0.1126, allocations: 103.2 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.1129, allocations: 128 kB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1129, allocations: 3.938 kB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1131, allocations: 63.91 kB / 337.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1134, allocations: 24.06 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009234/0.1143, allocations: 0.5101 MB / 337.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1146, allocations: 0.7318 MB / 338.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1147, allocations: 5.438 kB / 338.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.1147, allocations: 15.44 kB / 338.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1147, allocations: 3.938 kB / 338.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of Templates: time 0.004252/0.119, allocations: 1.641 MB / 340.3 MB, free: 7.727 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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