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.0007828/0.0007828, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001872, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006668/0.0006668, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.00167, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9207/0.9207, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1797/1.1, allocations: 52.49 MB / 238.5 MB, free: 7.648 MB / 234.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.894e-06/1.894e-06, allocations: 0 / 239.8 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.857e-05, allocations: 3.062 kB / 239.8 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003733/0.003762, allocations: 2.184 MB / 241.9 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.004726, allocations: 0.5369 MB / 242.5 MB, free: 3.652 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004827, allocations: 13.19 kB / 242.5 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.004928, allocations: 31.7 kB / 242.5 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.005053, allocations: 53.59 kB / 242.6 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.005214, allocations: 55.91 kB / 242.6 MB, free: 3.504 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.0055, allocations: 242.9 kB / 242.9 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.00566, allocations: 58.31 kB / 242.9 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.005865, allocations: 145.7 kB / 243.1 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.006001, allocations: 71.83 kB / 243.1 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.006047, allocations: 24 kB / 243.2 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.58e-05/0.006083, allocations: 20 kB / 243.2 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.006128, allocations: 31.88 kB / 243.2 MB, free: 2.922 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.0062, allocations: 65 kB / 243.3 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.006429, allocations: 139.5 kB / 243.4 MB, free: 2.723 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.006443, allocations: 0 / 243.4 MB, free: 2.723 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006443, allocations: 0 / 243.4 MB, free: 2.723 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.006457, allocations: 2.25 kB / 243.4 MB, free: 2.723 MB / 234.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.0007112/0.007168, allocations: 440.5 kB / 243.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.007209, allocations: 8.031 kB / 243.8 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.007274, allocations: 30.8 kB / 243.9 MB, free: 2.234 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.007484, allocations: 149.5 kB / 244 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.007512, allocations: 16.33 kB / 244 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.007552, allocations: 20.36 kB / 244.1 MB, free: 2.027 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.007815, allocations: 195.4 kB / 244.3 MB, free: 1.816 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007827, allocations: 4.125 kB / 244.3 MB, free: 1.812 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.007847, allocations: 8.375 kB / 244.3 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.007856, allocations: 8.469 kB / 244.3 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.00795, allocations: 43.94 kB / 244.3 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.00877, allocations: 0.5127 MB / 244.8 MB, free: 1.207 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.008964, allocations: 95.45 kB / 244.9 MB, free: 1.105 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.009045, allocations: 52.83 kB / 245 MB, free: 1.051 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.009057, allocations: 0.625 kB / 245 MB, free: 1.051 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.009087, allocations: 38.5 kB / 245 MB, free: 1.004 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.009089, allocations: 2.094 kB / 245 MB, free: 1.004 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002082/0.009298, allocations: 93.36 kB / 245.1 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.009329, allocations: 59.39 kB / 245.2 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.009431, allocations: 145.5 kB / 245.3 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.009447, allocations: 25.7 kB / 245.3 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.00951, allocations: 134 kB / 245.5 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.00955, allocations: 51.62 kB / 245.5 MB, free: 480 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.009606, allocations: 41.66 kB / 245.6 MB, free: 432 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.0097, allocations: 318.8 kB / 245.9 MB, free: 104 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.009736, allocations: 19.98 kB / 245.9 MB, free: 84 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/0.009783, allocations: 38.09 kB / 245.9 MB, free: 40 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.009895, allocations: 76.58 kB / 246 MB, free: 15.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.009898, allocations: 0.5 kB / 246 MB, free: 15.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001412/0.01004, allocations: 96.06 kB / 246.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01006, allocations: 8 kB / 246.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01006, allocations: 0 / 246.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01007, allocations: 0 / 246.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.01035, allocations: 51.95 kB / 246.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01035, allocations: 8.016 kB / 246.2 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.01041, allocations: 15.95 kB / 246.2 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.01042, allocations: 0 / 246.2 MB, free: 15.78 MB / 250.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 8.266e-05/0.0105, allocations: 121.7 kB / 246.3 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.01054, allocations: 11.98 kB / 246.3 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.01057, allocations: 20.77 kB / 246.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01058, allocations: 4 kB / 246.3 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01058, allocations: 0 / 246.3 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01058, allocations: 0 / 246.3 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.01076, allocations: 125.7 kB / 246.4 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01077, allocations: 4 kB / 246.5 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.01096, allocations: 43.95 kB / 246.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01098, allocations: 15.84 kB / 246.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01098, allocations: 4 kB / 246.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01099, allocations: 8 kB / 246.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.011, allocations: 0 / 246.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.011, allocations: 0 / 246.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.01122, allocations: 207.7 kB / 246.7 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01124, allocations: 4 kB / 246.7 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01135, allocations: 19.92 kB / 246.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01139, allocations: 7.984 kB / 246.8 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.0114, allocations: 4 kB / 246.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.01143, allocations: 28.11 kB / 246.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01143, allocations: 0 / 246.8 MB, free: 15.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000253/0.01168, allocations: 47.89 kB / 246.8 MB, free: 15.07 MB / 250.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 0.0001062/0.01179, allocations: 88.34 kB / 246.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01192, allocations: 64.83 kB / 247 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.01193, allocations: 4 kB / 247 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.471e-05/0.01199, allocations: 44.78 kB / 247 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.01236, allocations: 333 kB / 247.4 MB, free: 14.47 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.01495, allocations: 421.2 kB / 247.8 MB, free: 14.03 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.855e-05/0.015, allocations: 75.83 kB / 247.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.01507, allocations: 17.52 kB / 247.9 MB, free: 13.92 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.0152, allocations: 83.36 kB / 247.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0152, allocations: 0 / 247.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of Templates: time 0.004763/0.01997, allocations: 1.987 MB / 249.9 MB, free: 11.89 MB / 250.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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,G.useHeatPort,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,Ro.useHeatPort,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.7686627805233]