Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001592/0.001592, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002619/0.002619, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.716/1.716, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004215/0.3465, allocations: 2.175 MB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3479, allocations: 0.5844 MB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.3482, allocations: 0 / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.3484, allocations: 31.66 kB / 434.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.3485, allocations: 59.48 kB / 434.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.3488, allocations: 51.92 kB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.3492, allocations: 231 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.3494, allocations: 65.64 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.3496, allocations: 83.72 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3497, allocations: 95.61 kB / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.3498, allocations: 20 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/0.3498, allocations: 20 kB / 435.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.3499, allocations: 55.81 kB / 435.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.35, allocations: 99.59 kB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.3504, allocations: 237 kB / 435.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3504, allocations: 0 / 435.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3504, allocations: 0 / 435.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3504, allocations: 0 / 435.8 MB, free: 3.57 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.0009594/0.3514, allocations: 0.4947 MB / 436.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3514, allocations: 8.031 kB / 436.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.3515, allocations: 28.8 kB / 436.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.3519, allocations: 216.1 kB / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3519, allocations: 12.38 kB / 436.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.352, allocations: 20.31 kB / 436.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.3524, allocations: 181.9 kB / 436.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3524, allocations: 3.938 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.3524, allocations: 16 kB / 436.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3524, allocations: 4 kB / 436.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.3528, allocations: 135.9 kB / 436.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3541, allocations: 0.7509 MB / 437.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.3545, allocations: 154.5 kB / 437.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3547, allocations: 84.83 kB / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3547, allocations: 3.938 kB / 437.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3548, allocations: 42.56 kB / 438 MB, free: 1.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.3548, allocations: 0 / 438 MB, free: 1.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000516/0.3553, allocations: 177.8 kB / 438.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3553, allocations: 67.28 kB / 438.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3555, allocations: 145.8 kB / 438.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3555, allocations: 33.69 kB / 438.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.3556, allocations: 132.3 kB / 438.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.3557, allocations: 47.56 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.3558, allocations: 33.72 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3559, allocations: 322.8 kB / 438.9 MB, free: 264 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.356, allocations: 55.92 kB / 439 MB, free: 208 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.3562, allocations: 77.62 kB / 439 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3564, allocations: 120.5 kB / 439.2 MB, free: 0 / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3564, allocations: 0 / 439.2 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003981/0.3568, allocations: 177.5 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3569, allocations: 12.03 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3569, allocations: 0 / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.3569, allocations: 3.938 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.3572, allocations: 39.97 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3572, allocations: 7.984 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3573, allocations: 15.89 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3573, allocations: 7.938 kB / 439.4 MB, free: 15.73 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.0001613/0.3575, allocations: 125.8 kB / 439.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.3575, allocations: 19.89 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.3576, allocations: 24.78 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3576, allocations: 0 / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.3576, allocations: 4 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3576, allocations: 0 / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3579, allocations: 261.5 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3579, allocations: 0 / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.3582, allocations: 43.84 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3582, allocations: 0 / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3582, allocations: 11.94 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3582, allocations: 4 kB / 439.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3582, allocations: 0 / 439.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.3587, allocations: 294.4 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.3588, allocations: 100.9 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3588, allocations: 7.938 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.359, allocations: 15.98 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.359, allocations: 4 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3591, allocations: 11.98 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.575e-05/0.3592, allocations: 109.5 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3592, allocations: 0 / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.3595, allocations: 51.89 kB / 440.5 MB, free: 14.58 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.0001509/0.3596, allocations: 103.2 kB / 440.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.36, allocations: 123.9 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.36, allocations: 0 / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.3601, allocations: 59.97 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3605, allocations: 30.22 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3617, allocations: 0.5289 MB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.3621, allocations: 0.724 MB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.015e-05/0.3622, allocations: 13.42 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.3623, allocations: 15.44 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3623, allocations: 0 / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Templates: time 0.006026/0.3683, allocations: 1.702 MB / 443.8 MB, free: 11.24 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time [Calling sys.exit(0), Time elapsed: 5.930242591071874]