Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001839/0.001839, allocations: 103.5 kB / 17.98 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 213.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002488, allocations: 69.62 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1062, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003792/0.11, allocations: 2.207 MB / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1111, allocations: 0.5727 MB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1113, allocations: 7.938 kB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1114, allocations: 23.78 kB / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1116, allocations: 47.61 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1118, allocations: 47.95 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.1121, allocations: 231 kB / 360.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.1123, allocations: 81.62 kB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1124, allocations: 83.72 kB / 361 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1125, allocations: 95.61 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.1126, allocations: 20 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.929e-05/0.1126, allocations: 20 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.1127, allocations: 55.81 kB / 361.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1128, allocations: 99.59 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.113, allocations: 179.8 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.113, allocations: 0 / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.113, allocations: 0 / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.113, allocations: 0 / 361.4 MB, free: 10.6 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.0008088/0.1139, allocations: 0.4909 MB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1139, allocations: 11.97 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.114, allocations: 28.69 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1143, allocations: 218 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1143, allocations: 16.38 kB / 362.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.1143, allocations: 16.38 kB / 362.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.1147, allocations: 177.9 kB / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1148, allocations: 4 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.1148, allocations: 8 kB / 362.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1148, allocations: 4 kB / 362.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.1151, allocations: 143.9 kB / 362.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1164, allocations: 0.739 MB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1168, allocations: 162.5 kB / 363.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.117, allocations: 88.83 kB / 363.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.117, allocations: 4 kB / 363.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1171, allocations: 30.56 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1171, allocations: 4 kB / 363.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004855/0.1176, allocations: 193.6 kB / 363.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1176, allocations: 55.34 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1178, allocations: 152.8 kB / 363.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1178, allocations: 29.7 kB / 364 MB, free: 7.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.1179, allocations: 136.2 kB / 364.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.118, allocations: 51.2 kB / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.1181, allocations: 33.72 kB / 364.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1182, allocations: 330.7 kB / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1184, allocations: 51.97 kB / 364.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1185, allocations: 73.69 kB / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.1188, allocations: 125.6 kB / 364.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1188, allocations: 0 / 364.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003396/0.1191, allocations: 171.8 kB / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1191, allocations: 8 kB / 364.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1192, allocations: 0 / 364.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1192, allocations: 3.938 kB / 364.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.1194, allocations: 43.91 kB / 365 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1194, allocations: 4 kB / 365 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1195, allocations: 15.94 kB / 365 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1196, allocations: 7.984 kB / 365 MB, free: 6.766 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 0.0001186/0.1197, allocations: 129.8 kB / 365.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.1197, allocations: 7.906 kB / 365.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1198, allocations: 20.78 kB / 365.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1198, allocations: 0 / 365.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1198, allocations: 4 kB / 365.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1198, allocations: 0 / 365.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.1201, allocations: 269.4 kB / 365.4 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1201, allocations: 8 kB / 365.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.1204, allocations: 35.97 kB / 365.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1204, allocations: 3.984 kB / 365.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1204, allocations: 11.94 kB / 365.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1204, allocations: 0 / 365.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1204, allocations: 0 / 365.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.1209, allocations: 307.2 kB / 365.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.121, allocations: 85.02 kB / 365.9 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.121, allocations: 3.938 kB / 365.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1212, allocations: 16.03 kB / 365.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.1212, allocations: 7.984 kB / 365.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1212, allocations: 8 kB / 365.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.1213, allocations: 110.1 kB / 366 MB, free: 5.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1213, allocations: 3.938 kB / 366 MB, free: 5.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1216, allocations: 51.84 kB / 366.1 MB, free: 5.613 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.0001444/0.1218, allocations: 103.2 kB / 366.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.1221, allocations: 127.2 kB / 366.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1221, allocations: 0 / 366.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1223, allocations: 59.92 kB / 366.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1227, allocations: 35.97 kB / 366.4 MB, free: 5.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1237, allocations: 0.6094 MB / 367 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1241, allocations: 0.724 MB / 367.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.1242, allocations: 19.44 kB / 367.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1242, allocations: 0 / 367.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of Templates: time 0.004183/0.1284, allocations: 2.013 MB / 369.8 MB, free: 1.863 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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