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.001157/0.001157, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.001223/0.001223, allocations: 193.8 kB / 18.86 MB, free: 4.754 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.437/1.437, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001281/0.001281, allocations: 55.92 kB / 280.8 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 46.62 MB / 327.4 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003423/0.1096, allocations: 2.186 MB / 329.6 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.1106, allocations: 0.5659 MB / 330.2 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1108, allocations: 3.938 kB / 330.2 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1109, allocations: 19.84 kB / 330.2 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.111, allocations: 47.61 kB / 330.3 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.1112, allocations: 43.95 kB / 330.3 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.1115, allocations: 231 kB / 330.5 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.1117, allocations: 85.64 kB / 330.6 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1118, allocations: 83.72 kB / 330.7 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1119, allocations: 103.6 kB / 330.8 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.112, allocations: 20 kB / 330.8 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-05/0.112, allocations: 20 kB / 330.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.1121, allocations: 43.84 kB / 330.9 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.1121, allocations: 103.5 kB / 331 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1124, allocations: 175.8 kB / 331.1 MB, free: 1.066 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1124, allocations: 0 / 331.1 MB, free: 1.066 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1124, allocations: 0 / 331.1 MB, free: 1.066 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1124, allocations: 4 kB / 331.1 MB, free: 1.062 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.0007761/0.1132, allocations: 494.8 kB / 331.6 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1132, allocations: 12.03 kB / 331.6 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.1133, allocations: 20.66 kB / 331.7 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1136, allocations: 220 kB / 331.9 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.1136, allocations: 16.38 kB / 331.9 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.1136, allocations: 16.38 kB / 331.9 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.114, allocations: 185.8 kB / 332.1 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.114, allocations: 3.938 kB / 332.1 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.1141, allocations: 12 kB / 332.1 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1141, allocations: 4 kB / 332.1 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.1144, allocations: 136 kB / 332.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1155, allocations: 0.7545 MB / 333 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.1159, allocations: 162.5 kB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1161, allocations: 96.77 kB / 333.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1161, allocations: 0 / 333.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1162, allocations: 34.8 kB / 333.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.1162, allocations: 4 kB / 333.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004373/0.1166, allocations: 185.5 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1167, allocations: 59.34 kB / 333.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1168, allocations: 145.8 kB / 333.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1168, allocations: 29.7 kB / 333.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.1169, allocations: 136.1 kB / 333.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.1169, allocations: 47.3 kB / 333.9 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.117, allocations: 37.7 kB / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1171, allocations: 322.8 kB / 334.2 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1172, allocations: 47.98 kB / 334.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1174, allocations: 77.62 kB / 334.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.1176, allocations: 124.7 kB / 334.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1176, allocations: 0 / 334.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003026/0.1179, allocations: 177.4 kB / 334.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.118, allocations: 4 kB / 334.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.118, allocations: 0 / 334.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.118, allocations: 11.94 kB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1182, allocations: 43.91 kB / 334.7 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1182, allocations: 0 / 334.7 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1183, allocations: 19.89 kB / 334.7 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1183, allocations: 4 kB / 334.7 MB, free: 13.23 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.0001093/0.1185, allocations: 125.9 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1185, allocations: 11.91 kB / 334.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.1186, allocations: 20.78 kB / 334.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1186, allocations: 0 / 334.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1186, allocations: 0 / 334.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1186, allocations: 3.984 kB / 334.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.1189, allocations: 269.4 kB / 335.1 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1189, allocations: 3.938 kB / 335.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1191, allocations: 39.92 kB / 335.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1191, allocations: 4 kB / 335.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1191, allocations: 7.875 kB / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1191, allocations: 0 / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1191, allocations: 3.984 kB / 335.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.1196, allocations: 295.4 kB / 335.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.1196, allocations: 88.92 kB / 335.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1197, allocations: 11.94 kB / 335.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1198, allocations: 16.03 kB / 335.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1199, allocations: 7.984 kB / 335.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1199, allocations: 0 / 335.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.394e-05/0.12, allocations: 119.9 kB / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.12, allocations: 0 / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1202, allocations: 47.84 kB / 335.8 MB, free: 12.08 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.0001245/0.1204, allocations: 107.2 kB / 335.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1207, allocations: 128.5 kB / 336 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1207, allocations: 0 / 336 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1208, allocations: 63.91 kB / 336.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1212, allocations: 36.28 kB / 336.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.1222, allocations: 0.6055 MB / 336.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1225, allocations: 0.724 MB / 337.4 MB, free: 10.35 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.1226, allocations: 15.44 kB / 337.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1226, allocations: 0 / 337.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of Templates: time 0.003494/0.1261, allocations: 2.016 MB / 339.5 MB, free: 8.316 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","../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