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.001498/0.001498, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001716/0.001716, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.441/1.441, allocations: 205.1 MB / 225 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.001248/0.001249, allocations: 55.92 kB / 281.3 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 46.62 MB / 327.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003711/0.1068, allocations: 2.125 MB / 330.1 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1079, allocations: 0.5775 MB / 330.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.108, allocations: 4 kB / 330.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1082, allocations: 31.7 kB / 330.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.1083, allocations: 51.48 kB / 330.7 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1085, allocations: 59.92 kB / 330.8 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.1088, allocations: 227 kB / 331 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.109, allocations: 81.64 kB / 331.1 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1091, allocations: 87.66 kB / 331.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1093, allocations: 95.61 kB / 331.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.1093, allocations: 20 kB / 331.3 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.1094, allocations: 20 kB / 331.3 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.1094, allocations: 47.84 kB / 331.4 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1096, allocations: 111.5 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1098, allocations: 231.5 kB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1098, allocations: 0 / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1099, allocations: 0 / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1099, allocations: 0 / 331.7 MB, free: 0.6875 MB / 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.000838/0.1107, allocations: 494.8 kB / 332.2 MB, free: 160 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1108, allocations: 8.031 kB / 332.2 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.1109, allocations: 24.66 kB / 332.2 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1112, allocations: 220 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1112, allocations: 12.38 kB / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.1112, allocations: 20.38 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.1116, allocations: 185.8 kB / 332.6 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1116, allocations: 0 / 332.6 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.1117, allocations: 8 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.1117, allocations: 8 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.112, allocations: 139.9 kB / 332.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.1133, allocations: 0.7429 MB / 333.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.1137, allocations: 162.5 kB / 333.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.114, allocations: 100.8 kB / 333.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.114, allocations: 0 / 333.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.114, allocations: 38.55 kB / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.114, allocations: 0 / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004785/0.1145, allocations: 181.5 kB / 334 MB, free: 14.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.1146, allocations: 59.33 kB / 334.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1147, allocations: 145.8 kB / 334.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1147, allocations: 29.64 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1149, allocations: 136.2 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.1149, allocations: 55.3 kB / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.115, allocations: 37.7 kB / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1152, allocations: 318.8 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1153, allocations: 47.98 kB / 334.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1154, allocations: 73.67 kB / 334.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.1157, allocations: 121.8 kB / 335 MB, free: 13.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1157, allocations: 0 / 335 MB, free: 13.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003457/0.1161, allocations: 180.5 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1161, allocations: 7.938 kB / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1161, allocations: 3.984 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1162, allocations: 7.938 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.1164, allocations: 39.92 kB / 335.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1164, allocations: 4.031 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1165, allocations: 15.89 kB / 335.3 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1165, allocations: 4 kB / 335.3 MB, free: 12.86 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.0001324/0.1167, allocations: 125.8 kB / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.1167, allocations: 11.91 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.1168, allocations: 20.77 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1168, allocations: 7.984 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1168, allocations: 4 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1168, allocations: 4 kB / 335.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.1171, allocations: 273.4 kB / 335.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1172, allocations: 0 / 335.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.1174, allocations: 35.92 kB / 335.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1174, allocations: 7.938 kB / 335.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1174, allocations: 3.938 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1174, allocations: 3.984 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1174, allocations: 0 / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.1179, allocations: 291.4 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.118, allocations: 92.92 kB / 336.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.118, allocations: 3.938 kB / 336.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1182, allocations: 16.03 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.1182, allocations: 7.984 kB / 336.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1183, allocations: 7.938 kB / 336.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.29e-05/0.1184, allocations: 120 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1184, allocations: 0 / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1187, allocations: 47.84 kB / 336.3 MB, free: 11.71 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.0001254/0.1188, allocations: 103.2 kB / 336.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.1191, allocations: 132.5 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1192, allocations: 0 / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1193, allocations: 67.97 kB / 336.6 MB, free: 11.4 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1197, allocations: 25.25 kB / 336.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1208, allocations: 0.5355 MB / 337.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1212, allocations: 0.724 MB / 337.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.1213, allocations: 15.44 kB / 337.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1213, allocations: 4 kB / 337.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of Templates: time 0.003891/0.1252, allocations: 2.025 MB / 340 MB, free: 8.012 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/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.v,C2.v,L.i,time