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.0009555/0.0009555, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001039/0.001039, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 1.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.062 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.423e-06/1.423e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.287e-05, allocations: 5.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002505/0.002528, allocations: 2.197 MB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.003375, allocations: 0.5763 MB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.003465, allocations: 8 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003586, allocations: 27.7 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.003663, allocations: 59.44 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.003805, allocations: 51.91 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.004009, allocations: 246.9 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.004137, allocations: 62.3 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.004264, allocations: 127.8 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.004378, allocations: 75.78 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.004414, allocations: 24 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.487e-05/0.004438, allocations: 20 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.004477, allocations: 47.83 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.004535, allocations: 71.83 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.00472, allocations: 159.5 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004722, allocations: 4 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.004724, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004728, allocations: 0 / 277.2 MB, free: 13.27 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.0004289/0.005157, allocations: 400.1 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.00519, allocations: 11.98 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.005235, allocations: 32.91 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.005386, allocations: 141.5 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.005407, allocations: 12.38 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.005431, allocations: 20.38 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.005612, allocations: 190.2 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.00562, allocations: 192 / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.005631, allocations: 12.38 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.005638, allocations: 11.94 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.005697, allocations: 43.97 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.006254, allocations: 0.5127 MB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.006434, allocations: 94.47 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.006508, allocations: 48.83 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.006518, allocations: 4 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.006542, allocations: 34.56 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.006543, allocations: 0 / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000184/0.006727, allocations: 97.78 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.006752, allocations: 55.34 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.006845, allocations: 142.7 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.006861, allocations: 29.7 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.006922, allocations: 136.2 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.006958, allocations: 47.58 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.007012, allocations: 33.7 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.007098, allocations: 322.8 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.007132, allocations: 15.98 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.163e-05/0.007183, allocations: 44.78 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.548e-05/0.007279, allocations: 61.61 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.007281, allocations: 3.938 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003909/0.007672, allocations: 93.59 kB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.007687, allocations: 11.12 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007693, allocations: 0 / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007707, allocations: 0 / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.007901, allocations: 59.89 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.007904, allocations: 0 / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.007946, allocations: 15.88 kB / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.007954, allocations: 8 kB / 279.9 MB, free: 10.38 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.125e-05/0.008025, allocations: 117.8 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.008048, allocations: 11.98 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.008072, allocations: 16.78 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.008075, allocations: 3.984 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008076, allocations: 0 / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008079, allocations: 7.938 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.008207, allocations: 125.7 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008208, allocations: 0 / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.008337, allocations: 47.95 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008339, allocations: 4 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.008348, allocations: 4 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.008348, allocations: 0 / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008349, allocations: 0 / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.008507, allocations: 211.4 kB / 280.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.008521, allocations: 15.88 kB / 280.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.008533, allocations: 0 / 280.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.008601, allocations: 15.98 kB / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.008635, allocations: 7.984 kB / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.008641, allocations: 8 kB / 280.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.278e-05/0.008664, allocations: 24.84 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008664, allocations: 0 / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.008808, allocations: 51.84 kB / 280.5 MB, free: 9.668 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.496e-05/0.008873, allocations: 80.41 kB / 280.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.313e-05/0.008966, allocations: 72.67 kB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.008969, allocations: 0 / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.445e-05/0.009004, allocations: 36.78 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.009165, allocations: 35.92 kB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.009782, allocations: 404.6 kB / 281.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.009824, allocations: 71.83 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.609e-05/0.009871, allocations: 13.48 kB / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.009957, allocations: 79.36 kB / 281.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009957, allocations: 0 / 281.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of Templates: time 0.004114/0.01407, allocations: 1.841 MB / 283.2 MB, free: 7.027 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 -s gbode -gbm=radauIIA3 -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[50212]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6981186377815902]