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.001424/0.001424, allocations: 112.3 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.001303/0.001303, allocations: 190.9 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.448/1.448, allocations: 222.9 MB / 242.3 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009757/0.0009759, allocations: 51.5 kB / 302 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1104, 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.003256/0.1137, allocations: 2.137 MB / 353.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.1146, allocations: 0.5376 MB / 354.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.1147, allocations: 4 kB / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.1149, allocations: 35.64 kB / 354.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.115, allocations: 47.56 kB / 354.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.1151, allocations: 63.86 kB / 354.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1154, allocations: 239 kB / 354.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1156, allocations: 69.66 kB / 354.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.1157, allocations: 83.77 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1158, allocations: 107.5 kB / 354.8 MB, free: 372 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1158, allocations: 20 kB / 354.8 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.1159, allocations: 31.88 kB / 354.9 MB, free: 320 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1159, allocations: 39.91 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.116, allocations: 103.5 kB / 355 MB, free: 176 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1162, allocations: 227.2 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1163, allocations: 0 / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1163, allocations: 4 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1163, 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.000722/0.117, allocations: 0.491 MB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1171, allocations: 8.031 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.1171, allocations: 24.66 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1174, allocations: 212.1 kB / 356 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1175, allocations: 16.38 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1175, allocations: 16.38 kB / 356 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.1179, allocations: 181.9 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1179, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1179, allocations: 12 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1179, allocations: 4 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.1182, allocations: 143.8 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1194, allocations: 0.7506 MB / 357.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1198, allocations: 154.6 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1199, allocations: 96.83 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.12, allocations: 0 / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.12, allocations: 34.5 kB / 357.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.12, allocations: 0 / 357.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004559/0.1205, allocations: 189.7 kB / 357.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1205, allocations: 55.34 kB / 357.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1207, allocations: 153.8 kB / 357.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1207, allocations: 29.7 kB / 357.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.1208, allocations: 140.2 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1208, allocations: 43.3 kB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.1209, allocations: 37.62 kB / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.121, allocations: 318.8 kB / 358.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1212, allocations: 55.92 kB / 358.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1213, allocations: 81.61 kB / 358.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.1215, allocations: 113.7 kB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1215, allocations: 4 kB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003035/0.1218, allocations: 173.4 kB / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1219, allocations: 10.69 kB / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1219, allocations: 0 / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1219, allocations: 7.938 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.1221, allocations: 43.91 kB / 358.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1221, allocations: 0 / 358.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.1222, allocations: 19.89 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1223, allocations: 0 / 358.8 MB, free: 12.12 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 9.182e-05/0.1224, allocations: 129.8 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1224, allocations: 19.84 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.1224, allocations: 16.78 kB / 359 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1225, allocations: 4 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1225, allocations: 0 / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1225, allocations: 3.984 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1227, allocations: 265.4 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1227, allocations: 4 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.123, allocations: 39.97 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.123, allocations: 0 / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.123, allocations: 11.88 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.123, allocations: 4 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.123, allocations: 0 / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.1234, allocations: 299.3 kB / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1235, allocations: 85.11 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1235, allocations: 3.938 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1237, allocations: 24.02 kB / 359.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1237, allocations: 7.984 kB / 359.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1237, allocations: 4 kB / 359.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.677e-05/0.1238, allocations: 117.5 kB / 359.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1238, allocations: 0 / 359.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1241, 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.0001258/0.1243, allocations: 110.7 kB / 360 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.1246, allocations: 131.9 kB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1246, allocations: 0 / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1247, allocations: 59.98 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.0003076/0.125, allocations: 23.98 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.1259, allocations: 0.5099 MB / 360.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1262, allocations: 0.7162 MB / 361.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.014e-05/0.1263, allocations: 17.36 kB / 361.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.1263, allocations: 15.44 kB / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1263, allocations: 0 / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of Templates: time 0.00423/0.1306, allocations: 1.635 MB / 363.1 MB, free: 7.703 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 gbode -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