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.001024/0.001023, allocations: 92.7 kB / 17.3 MB, free: 6.391 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.001356/0.001357, allocations: 173.4 kB / 18.2 MB, free: 5.551 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.805/1.805, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005288/0.0005289, allocations: 16.88 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.1, allocations: 47.58 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002365/0.1024, allocations: 1.827 MB / 330.8 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1035, allocations: 0.562 MB / 331.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1037, allocations: 8 kB / 331.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1039, allocations: 19.84 kB / 331.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.104, allocations: 43.61 kB / 331.4 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.1042, allocations: 47.89 kB / 331.5 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1046, allocations: 223 kB / 331.7 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1048, allocations: 62.08 kB / 331.7 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1049, allocations: 75.78 kB / 331.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1051, allocations: 87.61 kB / 331.9 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.1051, allocations: 8 kB / 331.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.038e-05/0.1052, allocations: 15.94 kB / 331.9 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.1052, allocations: 35.83 kB / 332 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1053, allocations: 117.2 kB / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1055, allocations: 215.5 kB / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1056, allocations: 0 / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1056, allocations: 0 / 332.3 MB, free: 424 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1056, allocations: 0 / 332.3 MB, free: 424 kB / 270.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.000729/0.1063, allocations: 474.8 kB / 332.7 MB, free: 15.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1064, allocations: 11.97 kB / 332.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.1064, allocations: 24.73 kB / 332.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1067, allocations: 216.1 kB / 333 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1067, allocations: 16.38 kB / 333 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.1068, allocations: 24.28 kB / 333 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.1072, allocations: 181.9 kB / 333.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1072, allocations: 0 / 333.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1072, allocations: 12 kB / 333.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.1072, allocations: 4 kB / 333.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1076, allocations: 151.8 kB / 333.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1088, allocations: 0.7585 MB / 334.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.1092, allocations: 166.6 kB / 334.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.1094, allocations: 104.8 kB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1094, allocations: 4 kB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1095, allocations: 38.69 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1095, allocations: 4 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004878/0.11, allocations: 197.5 kB / 334.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.11, allocations: 55.34 kB / 334.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1102, allocations: 145.8 kB / 334.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1102, allocations: 29.7 kB / 334.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.1103, allocations: 136.2 kB / 335 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.1103, allocations: 55.2 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1104, allocations: 21.7 kB / 335.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1105, allocations: 322.8 kB / 335.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1106, allocations: 51.98 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1108, allocations: 77.67 kB / 335.5 MB, free: 12.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1111, allocations: 131.7 kB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1111, allocations: 0 / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003482/0.1114, allocations: 188.7 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1115, allocations: 7.984 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1115, allocations: 0 / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1115, allocations: 3.938 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.1117, allocations: 43.98 kB / 335.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1118, allocations: 4.031 kB / 335.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.1119, allocations: 15.89 kB / 335.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1119, allocations: 8 kB / 335.9 MB, free: 12.54 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.0001091/0.112, allocations: 125.8 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.1121, allocations: 7.906 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1121, allocations: 24.77 kB / 336.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1121, allocations: 0 / 336.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1121, allocations: 11.94 kB / 336.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1121, allocations: 0 / 336.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1125, allocations: 269.4 kB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1125, allocations: 0 / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.1127, allocations: 35.98 kB / 336.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1127, allocations: 3.984 kB / 336.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.1127, allocations: 11.92 kB / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1127, allocations: 3.938 kB / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1127, allocations: 3.938 kB / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.1132, allocations: 311.3 kB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1133, allocations: 85.02 kB / 336.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1134, allocations: 7.938 kB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1135, allocations: 20.03 kB / 336.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.1136, allocations: 11.98 kB / 336.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1136, allocations: 4 kB / 336.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.1137, allocations: 116 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1137, allocations: 0 / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.114, allocations: 47.84 kB / 337 MB, free: 11.37 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.0001306/0.1141, allocations: 103.2 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.1144, allocations: 127.9 kB / 337.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1144, allocations: 0 / 337.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1146, allocations: 75.97 kB / 337.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.115, allocations: 20 kB / 337.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.116, allocations: 0.6508 MB / 338 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1163, allocations: 0.7243 MB / 338.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.1164, allocations: 9.438 kB / 338.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.1164, allocations: 11.44 kB / 338.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1164, allocations: 0 / 338.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of Templates: time 0.004056/0.1205, allocations: 1.525 MB / 340.2 MB, free: 8.074 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../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