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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002062/0.002062, allocations: 169.3 kB / 24.82 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9805/0.9805, allocations: 177 MB / 205.1 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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=50000,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=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.7e-05, allocations: 3.719 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002293/0.00231, allocations: 2.152 MB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000941/0.003251, allocations: 0.557 MB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.003362, allocations: 4 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.003484, allocations: 39.66 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.003569, allocations: 51.48 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.00373, allocations: 59.91 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.003913, allocations: 242.8 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.004046, allocations: 53.77 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.004172, allocations: 135.8 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.004267, allocations: 71.78 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.004295, allocations: 20 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/0.004321, allocations: 28 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.004355, allocations: 43.83 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.004417, allocations: 75.83 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.00458, allocations: 159.5 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004582, allocations: 0 / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004583, allocations: 0 / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004587, allocations: 0 / 277 MB, free: 13.54 MB / 266.7 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.000527/0.005114, allocations: 0.5154 MB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.00516, allocations: 11.98 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.005216, allocations: 36.84 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.005412, allocations: 161 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.005436, allocations: 12.38 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.005471, allocations: 24.31 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.005688, allocations: 190.2 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005697, allocations: 192 / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.005715, allocations: 12.38 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005722, allocations: 11.94 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.0058, allocations: 51.94 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.006495, allocations: 0.6261 MB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.006638, allocations: 111 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.006704, allocations: 55.66 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.006717, allocations: 4 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.00674, allocations: 33.39 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.006741, allocations: 0 / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001777/0.006919, allocations: 117.8 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.006942, allocations: 51.41 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.00704, allocations: 205.2 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.007052, allocations: 29.7 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.007128, allocations: 191 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.007157, allocations: 47.53 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.007202, allocations: 39.36 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.007357, allocations: 0.4961 MB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.007385, allocations: 19.98 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.007431, allocations: 43.34 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.007506, allocations: 66.31 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007508, allocations: 3.938 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001329/0.007641, allocations: 125.4 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.007652, allocations: 4 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007656, allocations: 4 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.007667, allocations: 0 / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.007792, allocations: 43.91 kB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007795, allocations: 0 / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.007839, allocations: 15.89 kB / 280.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.007844, allocations: 4 kB / 280.3 MB, free: 9.973 MB / 266.7 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 7.629e-05/0.00792, allocations: 168.5 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.007943, allocations: 11.98 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.007978, allocations: 24.78 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.007981, allocations: 0 / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007984, allocations: 0 / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.007988, allocations: 0 / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.00814, allocations: 157.1 kB / 280.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.008142, allocations: 3.938 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.008248, allocations: 35.92 kB / 280.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.008251, allocations: 4 kB / 280.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.008261, allocations: 3.984 kB / 280.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008262, allocations: 0 / 280.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008262, allocations: 4 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.00848, allocations: 278.7 kB / 281 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.008499, allocations: 19.78 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.008512, allocations: 7.922 kB / 281.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.008577, allocations: 12 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.008611, allocations: 7.984 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.008619, allocations: 7.984 kB / 281.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.236e-05/0.008681, allocations: 150.2 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008681, allocations: 0 / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001779/0.008859, allocations: 51.89 kB / 281.3 MB, free: 8.988 MB / 266.7 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 8.591e-05/0.008945, allocations: 91.25 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.009114, allocations: 79.45 kB / 281.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.009116, allocations: 3.938 kB / 281.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.009182, allocations: 47.61 kB / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.00939, allocations: 30.73 kB / 281.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.01005, allocations: 454.3 kB / 282 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.01009, allocations: 71.84 kB / 282 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.01013, allocations: 13.12 kB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.01023, allocations: 98.17 kB / 282.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01023, allocations: 0 / 282.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of Templates: time 0.003095/0.01332, allocations: 1.702 MB / 283.8 MB, free: 6.383 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50218]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.876834594644606]