Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.952/0.952, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.428e-06/1.044e-05, allocations: 2.312 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001941/0.001951, allocations: 2.153 MB / 276.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000653/0.002604, allocations: 0.5574 MB / 276.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.002682, allocations: 7.938 kB / 276.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.002775, allocations: 28.41 kB / 276.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.002854, allocations: 55.92 kB / 277 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.002983, allocations: 61.41 kB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.003155, allocations: 238.9 kB / 277.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.003262, allocations: 49.78 kB / 277.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.003367, allocations: 137.7 kB / 277.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.003451, allocations: 71.78 kB / 277.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.003475, allocations: 20 kB / 277.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.036e-05/0.003495, allocations: 20 kB / 277.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.003529, allocations: 55.81 kB / 277.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.003577, allocations: 72.45 kB / 277.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003722, allocations: 161.5 kB / 277.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003724, allocations: 0 / 277.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003724, allocations: 0 / 277.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003728, allocations: 0 / 277.9 MB, free: 0.7305 MB / 250.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.0004342/0.004162, allocations: 0.5193 MB / 278.4 MB, free: 180 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.478e-05/0.004187, allocations: 8.031 kB / 278.4 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.004234, allocations: 36.8 kB / 278.4 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.00438, allocations: 156.5 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.004397, allocations: 12.38 kB / 278.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.00442, allocations: 24.33 kB / 278.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.004588, allocations: 186.2 kB / 278.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004596, allocations: 4.188 kB / 278.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.004608, allocations: 12.38 kB / 278.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004616, allocations: 7.938 kB / 278.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.697e-05/0.004683, allocations: 55.84 kB / 278.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.005285, allocations: 0.6298 MB / 279.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.005418, allocations: 107 kB / 279.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.005476, allocations: 55.66 kB / 279.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.005484, allocations: 0 / 279.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.005505, allocations: 41.39 kB / 279.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 6.82e-07/0.005505, allocations: 3.938 kB / 279.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000187/0.005692, allocations: 109.9 kB / 279.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.005713, allocations: 55.41 kB / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.005789, allocations: 197.8 kB / 280.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.0058, allocations: 29.7 kB / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.005861, allocations: 183 kB / 280.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.005888, allocations: 55.52 kB / 280.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.005927, allocations: 39.34 kB / 280.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.006078, allocations: 0.5 MB / 280.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.006103, allocations: 19.98 kB / 280.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.006138, allocations: 42.53 kB / 280.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.006201, allocations: 77.16 kB / 281 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006203, allocations: 0 / 281 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001079/0.006311, allocations: 124 kB / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.006319, allocations: 4 kB / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.006323, allocations: 0 / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.00633, allocations: 4 kB / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.006437, allocations: 39.97 kB / 281.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.006439, allocations: 3.938 kB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.006481, allocations: 11.94 kB / 281.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.006488, allocations: 8 kB / 281.2 MB, free: 13.16 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 6.399e-05/0.006552, allocations: 168.5 kB / 281.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.006577, allocations: 23.91 kB / 281.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.006603, allocations: 16.77 kB / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006606, allocations: 4 kB / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006607, allocations: 0 / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00661, allocations: 0 / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.006742, allocations: 149.2 kB / 281.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006744, allocations: 3.938 kB / 281.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.006842, allocations: 35.97 kB / 281.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006843, allocations: 0 / 281.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.006853, allocations: 11.94 kB / 281.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006853, allocations: 4 kB / 281.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006854, allocations: 0 / 281.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.007027, allocations: 271.8 kB / 281.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.007041, allocations: 15.83 kB / 281.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.007056, allocations: 8 kB / 281.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.00712, allocations: 7.984 kB / 281.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.00715, allocations: 7.984 kB / 281.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.007157, allocations: 8 kB / 281.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.275e-05/0.0072, allocations: 147.1 kB / 282.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0072, allocations: 4 kB / 282.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.007362, allocations: 47.89 kB / 282.1 MB, free: 12.19 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 6.143e-05/0.007423, allocations: 103.2 kB / 282.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.007523, allocations: 74.88 kB / 282.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007524, allocations: 0 / 282.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.00756, allocations: 43.66 kB / 282.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.007749, allocations: 31.97 kB / 282.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.008454, allocations: 454.2 kB / 282.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.008489, allocations: 75.77 kB / 282.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.807e-05/0.008527, allocations: 13.14 kB / 282.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.008653, allocations: 94.19 kB / 283 MB, free: 11.26 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008654, allocations: 4 kB / 283 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.003912/0.01257, allocations: 1.735 MB / 284.7 MB, free: 9.555 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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[50234]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.694980103056878]