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.001865/0.001865, allocations: 107 kB / 19.8 MB, free: 2.5 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.002476/0.002476, allocations: 214.7 kB / 23 MB, free: 5.57 MB / 14.72 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.688/1.688, allocations: 230.2 MB / 256.2 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001968/0.001968, allocations: 68.03 kB / 376.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3527, allocations: 53.32 MB / 429.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005309/0.358, allocations: 2.168 MB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3596, allocations: 0.5766 MB / 432.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.3598, allocations: 4 kB / 432.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.36, allocations: 35.64 kB / 432.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.3602, allocations: 47.55 kB / 432.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.3605, allocations: 71.8 kB / 432.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.361, allocations: 223.1 kB / 432.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.3613, allocations: 57.66 kB / 433 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3615, allocations: 87.7 kB / 433.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.3617, allocations: 99.55 kB / 433.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.3617, allocations: 23.98 kB / 433.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.95e-05/0.3618, allocations: 24 kB / 433.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.3618, allocations: 43.84 kB / 433.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3619, allocations: 103.6 kB / 433.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.3623, allocations: 228.4 kB / 433.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3623, allocations: 4 kB / 433.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3623, allocations: 4 kB / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3623, allocations: 3.938 kB / 433.6 MB, free: 3.707 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.001275/0.3636, allocations: 0.4946 MB / 434.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.3637, allocations: 8.031 kB / 434.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.3638, allocations: 20.84 kB / 434.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.3643, allocations: 224 kB / 434.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.3643, allocations: 12.38 kB / 434.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.3644, allocations: 20.38 kB / 434.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.3649, allocations: 181.9 kB / 434.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3649, allocations: 0 / 434.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.3649, allocations: 8 kB / 434.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3649, allocations: 7.984 kB / 434.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.3653, allocations: 147.8 kB / 434.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.3669, allocations: 0.747 MB / 435.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.3673, allocations: 146.6 kB / 435.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3675, allocations: 88.81 kB / 435.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3676, allocations: 0 / 435.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.3676, allocations: 46.5 kB / 435.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3676, allocations: 0 / 435.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005077/0.3681, allocations: 181.8 kB / 435.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3682, allocations: 55.34 kB / 436 MB, free: 1.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3683, allocations: 152.8 kB / 436.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3683, allocations: 25.7 kB / 436.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3685, allocations: 144.3 kB / 436.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.3685, allocations: 47.58 kB / 436.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.3686, allocations: 37.66 kB / 436.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3687, allocations: 318.8 kB / 436.7 MB, free: 408 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3689, allocations: 51.97 kB / 436.7 MB, free: 356 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.369, allocations: 77.56 kB / 436.8 MB, free: 272 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.3693, allocations: 125.7 kB / 436.9 MB, free: 140 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3693, allocations: 4 kB / 436.9 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004701/0.3698, allocations: 175.8 kB / 437.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3698, allocations: 4 kB / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3698, allocations: 0 / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.3698, allocations: 7.938 kB / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.37, allocations: 48 kB / 437.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.37, allocations: 4 kB / 437.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.3703, allocations: 15.89 kB / 437.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3703, allocations: 4 kB / 437.2 MB, free: 15.88 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.0001342/0.3704, allocations: 125.8 kB / 437.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.3704, allocations: 15.91 kB / 437.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.3705, allocations: 24.7 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3705, allocations: 4 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3705, allocations: 4 kB / 437.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3705, allocations: 0 / 437.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.3711, allocations: 261.5 kB / 437.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3711, allocations: 0 / 437.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.3713, allocations: 39.97 kB / 437.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3713, allocations: 0 / 437.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3713, allocations: 11.88 kB / 437.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3713, allocations: 0 / 437.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3713, allocations: 0 / 437.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.372, allocations: 295.4 kB / 437.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.3723, allocations: 96.98 kB / 438 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.3723, allocations: 7.938 kB / 438 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3724, allocations: 8 kB / 438 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.3725, allocations: 7.984 kB / 438.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3725, allocations: 12 kB / 438.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3726, allocations: 118.6 kB / 438.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3726, allocations: 0 / 438.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.373, allocations: 47.89 kB / 438.2 MB, free: 14.72 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.0002054/0.3732, allocations: 103.1 kB / 438.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.3735, allocations: 123.9 kB / 438.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3736, allocations: 4.062 kB / 438.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3737, allocations: 59.59 kB / 438.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3741, allocations: 31.97 kB / 438.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3753, allocations: 0.5289 MB / 439.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.3759, allocations: 0.7201 MB / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.567e-05/0.3759, allocations: 17.36 kB / 439.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.376, allocations: 15.44 kB / 439.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of SimCode: time 1.503e-06/0.376, allocations: 0 / 439.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.005955/0.3819, allocations: 1.702 MB / 441.5 MB, free: 11.39 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.861485697329044]