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.001653/0.001653, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001427/0.001427, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.898/1.898, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002005/0.002005, allocations: 43.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4164, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005097/0.4215, allocations: 2.047 MB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.4231, allocations: 0.5493 MB / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.4233, allocations: 0 / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.4235, allocations: 31.7 kB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.4237, allocations: 59.48 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.424, allocations: 51.92 kB / 435.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.4244, allocations: 231 kB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.4246, allocations: 69.42 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.4248, allocations: 83.77 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.425, allocations: 99.61 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.4251, allocations: 20 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.4251, allocations: 20 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.4252, allocations: 51.83 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.4253, allocations: 83.66 kB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.4257, allocations: 234.1 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4257, allocations: 4 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4257, allocations: 0 / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4257, allocations: 0 / 435.9 MB, free: 3.074 MB / 334.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.001042/0.4268, allocations: 425.5 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4268, allocations: 12.03 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.4269, allocations: 24.8 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.4273, allocations: 170.2 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4273, allocations: 16.38 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.4274, allocations: 24.34 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.4279, allocations: 229.3 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4279, allocations: 0 / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.4279, allocations: 8 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.4279, allocations: 7.984 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.4284, allocations: 147.9 kB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.4298, allocations: 0.6179 MB / 437.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.4303, allocations: 154.5 kB / 437.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.4306, allocations: 84.83 kB / 437.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.4306, allocations: 0 / 437.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.4306, allocations: 34.56 kB / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.4306, allocations: 0 / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006511/0.4313, allocations: 193 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4313, allocations: 59.34 kB / 438.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4315, allocations: 152.6 kB / 438.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.4315, allocations: 25.7 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4317, allocations: 140.2 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.4317, allocations: 51.59 kB / 438.5 MB, free: 368 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.4318, allocations: 33.7 kB / 438.5 MB, free: 328 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.432, allocations: 322.8 kB / 438.8 MB, free: 16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.4322, allocations: 51.97 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4324, allocations: 73.69 kB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.4327, allocations: 117.7 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4327, allocations: 0 / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004484/0.4332, allocations: 184 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4332, allocations: 4 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4332, allocations: 0 / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4332, allocations: 4 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.4335, allocations: 43.95 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.4335, allocations: 4 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.4337, allocations: 27.8 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4337, allocations: 0 / 439.3 MB, free: 15.48 MB / 350.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.0001325/0.4338, allocations: 121.8 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.4339, allocations: 15.91 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.4339, allocations: 20.77 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4339, allocations: 4 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4339, allocations: 3.938 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.434, allocations: 7.938 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.4343, allocations: 173.3 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4343, allocations: 0 / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.4346, allocations: 39.97 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4346, allocations: 0 / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.4346, allocations: 4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4346, allocations: 0 / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4346, allocations: 0 / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.4352, allocations: 307.2 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.4352, allocations: 11.95 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.4353, allocations: 4 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4355, allocations: 16.03 kB / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.4356, allocations: 11.98 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4356, allocations: 4 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.4357, allocations: 117.9 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4357, allocations: 0 / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004113/0.4361, allocations: 47.89 kB / 440.2 MB, free: 14.54 MB / 350.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.0001296/0.4362, allocations: 107.2 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.4366, allocations: 115.8 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4366, allocations: 0 / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.4368, allocations: 59.91 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4372, allocations: 19.98 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4386, allocations: 0.5265 MB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.4387, allocations: 107.9 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.248e-05/0.4388, allocations: 21.02 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.4388, allocations: 11.44 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4388, allocations: 0 / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Templates: time 0.00636/0.4452, allocations: 1.787 MB / 443 MB, free: 11.77 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",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[50198]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.78580219700234]