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.0009445/0.0009445, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002643/0.003588, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007255/0.0007255, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009533/0.001679, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9562/0.9562, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09155/1.048, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.462e-06/1.462e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.323e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003014/0.003037, allocations: 2.216 MB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.003888, allocations: 0.5801 MB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.003976, allocations: 0 / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.101e-05/0.004067, allocations: 35.64 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.004154, allocations: 55.48 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.004282, allocations: 51.92 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.004483, allocations: 246.9 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004606, allocations: 58.36 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.004777, allocations: 143.8 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.004883, allocations: 71.84 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.004913, allocations: 20 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.475e-05/0.004937, allocations: 24 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.004965, allocations: 31.88 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.005022, allocations: 63.88 kB / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.005209, allocations: 143.5 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.005221, allocations: 0 / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005221, allocations: 0 / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.00523, allocations: 0 / 248.9 MB, free: 9.82 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.0005417/0.005772, allocations: 443.7 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.005803, allocations: 8.625 kB / 249.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.005849, allocations: 28.92 kB / 249.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.00601, allocations: 145.5 kB / 249.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.006033, allocations: 16.38 kB / 249.6 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.006061, allocations: 16.38 kB / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.00625, allocations: 190.2 kB / 249.8 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.006257, allocations: 4.188 kB / 249.8 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.00627, allocations: 12.38 kB / 249.8 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006277, allocations: 7.938 kB / 249.8 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.00634, allocations: 51.86 kB / 249.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.006913, allocations: 0.5128 MB / 250.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.007054, allocations: 82.53 kB / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.007108, allocations: 48.83 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.007118, allocations: 4 kB / 250.5 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.00714, allocations: 42.5 kB / 250.5 MB, free: 8.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.007142, allocations: 0 / 250.5 MB, free: 8.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001444/0.007286, allocations: 93.84 kB / 250.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.00731, allocations: 59.41 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.007391, allocations: 146.6 kB / 250.8 MB, free: 7.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.007402, allocations: 25.7 kB / 250.8 MB, free: 7.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.007453, allocations: 132.2 kB / 251 MB, free: 7.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.007481, allocations: 55.52 kB / 251 MB, free: 7.562 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.007518, allocations: 29.7 kB / 251.1 MB, free: 7.527 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.007592, allocations: 326.8 kB / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.007616, allocations: 19.98 kB / 251.4 MB, free: 7.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.007649, allocations: 32.97 kB / 251.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.007712, allocations: 69.55 kB / 251.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007713, allocations: 4 kB / 251.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.313e-05/0.007806, allocations: 92.94 kB / 251.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.007817, allocations: 4 kB / 251.6 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.007823, allocations: 4 kB / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.007833, allocations: 0 / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.008026, allocations: 59.89 kB / 251.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.00803, allocations: 0 / 251.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.008072, allocations: 11.89 kB / 251.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.008079, allocations: 12.03 kB / 251.7 MB, free: 6.883 MB / 250.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.503e-05/0.008144, allocations: 125.7 kB / 251.8 MB, free: 6.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.008164, allocations: 8 kB / 251.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.008187, allocations: 16.77 kB / 251.8 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00819, allocations: 4 kB / 251.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.008192, allocations: 0 / 251.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.008194, allocations: 0 / 251.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.008322, allocations: 125.7 kB / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008324, allocations: 0 / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.008503, allocations: 51.95 kB / 252 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.00852, allocations: 11.89 kB / 252 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.008524, allocations: 4 kB / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.008533, allocations: 0 / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008535, allocations: 0 / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.008538, allocations: 3.984 kB / 252 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.008709, allocations: 219.3 kB / 252.2 MB, free: 6.281 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.008722, allocations: 4 kB / 252.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.008787, allocations: 15.98 kB / 252.3 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.008817, allocations: 11.98 kB / 252.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.008822, allocations: 0 / 252.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.008857, allocations: 32.83 kB / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008857, allocations: 0 / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.009005, allocations: 51.84 kB / 252.4 MB, free: 6.164 MB / 250.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.351e-05/0.009089, allocations: 80.41 kB / 252.4 MB, free: 6.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.009199, allocations: 72.69 kB / 252.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.009205, allocations: 0 / 252.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.00925, allocations: 52.73 kB / 252.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.009502, allocations: 334.6 kB / 252.9 MB, free: 5.559 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.01113, allocations: 401.4 kB / 253.3 MB, free: 5.137 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.01118, allocations: 75.83 kB / 253.3 MB, free: 5.043 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.01123, allocations: 9.484 kB / 253.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.01132, allocations: 83.34 kB / 253.4 MB, free: 4.953 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01132, allocations: 3.938 kB / 253.4 MB, free: 4.949 MB / 250.7 MB Notification: Performance of Templates: time 0.00347/0.01479, allocations: 1.981 MB / 255.4 MB, free: 3.004 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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.4527690736576915]