Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 140.7 kB / 24.89 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9577/0.9577, allocations: 173.3 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.396e-05, allocations: 2.312 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002494/0.002518, allocations: 2.174 MB / 270.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.003295, allocations: 0.553 MB / 271.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.003377, allocations: 7.938 kB / 271.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.003489, allocations: 35.66 kB / 271.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.003573, allocations: 59.47 kB / 271.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.003727, allocations: 51.92 kB / 271.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.003995, allocations: 242.9 kB / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.004127, allocations: 58.41 kB / 271.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.004256, allocations: 139.7 kB / 271.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.004356, allocations: 71.78 kB / 271.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.004381, allocations: 24 kB / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.004402, allocations: 20 kB / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.004435, allocations: 47.83 kB / 272 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.004487, allocations: 71.89 kB / 272.1 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004643, allocations: 155.5 kB / 272.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.004646, allocations: 4 kB / 272.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004646, allocations: 0 / 272.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.00465, allocations: 0 / 272.2 MB, free: 2.43 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.0003953/0.005045, allocations: 400 kB / 272.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.005074, allocations: 8.922 kB / 272.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.005114, allocations: 24.92 kB / 272.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.005252, allocations: 157.5 kB / 272.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.005267, allocations: 8.375 kB / 272.8 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.005289, allocations: 24.38 kB / 272.8 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.005451, allocations: 190.2 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.005457, allocations: 4.125 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005467, allocations: 8.375 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.005475, allocations: 15.88 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.005537, allocations: 47.92 kB / 273.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.006075, allocations: 0.4972 MB / 273.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.006205, allocations: 94.52 kB / 273.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.006259, allocations: 52.77 kB / 273.7 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.006268, allocations: 4 kB / 273.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.006286, allocations: 30.56 kB / 273.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.006287, allocations: 0 / 273.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000134/0.006421, allocations: 101.6 kB / 273.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.006442, allocations: 51.41 kB / 273.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.006509, allocations: 145.7 kB / 274 MB, free: 456 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006522, allocations: 33.7 kB / 274.1 MB, free: 416 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.006571, allocations: 136.2 kB / 274.2 MB, free: 276 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.006596, allocations: 47.56 kB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.006633, allocations: 37.66 kB / 274.3 MB, free: 184 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.006715, allocations: 326.8 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.00674, allocations: 15.98 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.006773, allocations: 33.7 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.006837, allocations: 68.52 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006838, allocations: 0 / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.457e-05/0.006933, allocations: 97.59 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.006944, allocations: 8 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.006948, allocations: 0 / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.006957, allocations: 0 / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.00712, allocations: 55.95 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007123, allocations: 0 / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.007165, allocations: 15.89 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.007172, allocations: 4 kB / 274.9 MB, free: 15.54 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 0.0001929/0.007364, allocations: 121.8 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.007386, allocations: 11.98 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.007409, allocations: 24.72 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007411, allocations: 0 / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.007413, allocations: 0 / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007418, allocations: 7.984 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.007539, allocations: 117.8 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.007541, allocations: 3.984 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.007662, allocations: 47.16 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.007663, allocations: 0 / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.007672, allocations: 11.98 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007673, allocations: 3.938 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.007674, allocations: 0 / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.007833, allocations: 207.4 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.007848, allocations: 11.89 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.007862, allocations: 4 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.007922, allocations: 11.98 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.007951, allocations: 11.98 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.007955, allocations: 0 / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.00798, allocations: 35.75 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00798, allocations: 0 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.008127, allocations: 47.89 kB / 275.6 MB, free: 14.84 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.502e-05/0.008192, allocations: 84.36 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.008288, allocations: 68.77 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.008291, allocations: 0 / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.008325, allocations: 32.84 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.008491, allocations: 35.98 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.009116, allocations: 412.2 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.009157, allocations: 75.83 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.009208, allocations: 13.52 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.009303, allocations: 79.36 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009303, allocations: 0 / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of Templates: time 0.003543/0.01285, allocations: 1.819 MB / 278.2 MB, free: 12.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time filterSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff.ref.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.853281766641885]