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.001151/0.001151, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007826/0.008977, allocations: 449.7 kB / 10.37 MB, free: 328 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.001007/0.001007, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002394, allocations: 459.6 kB / 11.69 MB, free: 2.477 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 1.029/1.029, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08103/1.111, allocations: 52.5 MB / 238.3 MB, free: 4.438 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.513e-06/1.513e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.019e-05, allocations: 2.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002263/0.002283, allocations: 2.186 MB / 241.7 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.002988, allocations: 0.5491 MB / 242.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.003063, allocations: 4 kB / 242.3 MB, free: 432 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.126e-05/0.003135, allocations: 39.64 kB / 242.3 MB, free: 392 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.03e-05/0.003215, allocations: 51.5 kB / 242.4 MB, free: 340 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.00333, allocations: 59.91 kB / 242.4 MB, free: 280 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.003511, allocations: 234.9 kB / 242.7 MB, free: 44 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.003639, allocations: 62.44 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.003776, allocations: 143.7 kB / 242.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.003881, allocations: 71.78 kB / 242.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.003911, allocations: 20 kB / 243 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.241e-05/0.003933, allocations: 20 kB / 243 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.00396, allocations: 31.94 kB / 243 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.004013, allocations: 59.88 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.004179, allocations: 151.4 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.004193, allocations: 0 / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004194, allocations: 4 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.00421, allocations: 4 kB / 243.2 MB, free: 15.48 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.0005197/0.004729, allocations: 439.7 kB / 243.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.004758, allocations: 12.02 kB / 243.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.004811, allocations: 28.92 kB / 243.7 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.004969, allocations: 145.5 kB / 243.8 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.00499, allocations: 12.38 kB / 243.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.005016, allocations: 24.38 kB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.00521, allocations: 190.2 kB / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005219, allocations: 192 / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.005231, allocations: 4.375 kB / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.005239, allocations: 7.938 kB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.005307, allocations: 47.88 kB / 244.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.00589, allocations: 0.5128 MB / 244.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.006036, allocations: 102.4 kB / 244.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.006088, allocations: 40.86 kB / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.006099, allocations: 7.984 kB / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.006121, allocations: 34.56 kB / 244.8 MB, free: 13.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.51e-07/0.006122, allocations: 0 / 244.8 MB, free: 13.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001438/0.006266, allocations: 96.98 kB / 244.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.00629, allocations: 51.66 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.006367, allocations: 150.5 kB / 245.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.006381, allocations: 33.7 kB / 245.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.00643, allocations: 128.2 kB / 245.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.00646, allocations: 43.62 kB / 245.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.006499, allocations: 37.66 kB / 245.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.006575, allocations: 326.8 kB / 245.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.006597, allocations: 16 kB / 245.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.006632, allocations: 40.95 kB / 245.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.006706, allocations: 80.03 kB / 245.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.006708, allocations: 0 / 245.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001081/0.006816, allocations: 89.66 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.006828, allocations: 8 kB / 245.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.006833, allocations: 0 / 245.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.006842, allocations: 3.938 kB / 245.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.007043, allocations: 58.81 kB / 246 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.007048, allocations: 7.984 kB / 246 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.007089, allocations: 15.89 kB / 246 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.007094, allocations: 0 / 246 MB, free: 12.55 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 6.627e-05/0.00716, allocations: 121.7 kB / 246.1 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.007183, allocations: 15.98 kB / 246.1 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.007206, allocations: 16.78 kB / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.007208, allocations: 0 / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007209, allocations: 0 / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007212, allocations: 0 / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.007349, allocations: 129.7 kB / 246.3 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00735, allocations: 0 / 246.3 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.007478, allocations: 51.89 kB / 246.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.007491, allocations: 15.89 kB / 246.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.007493, allocations: 0 / 246.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007501, allocations: 4 kB / 246.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007502, allocations: 0 / 246.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007503, allocations: 0 / 246.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.007666, allocations: 207.4 kB / 246.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.007681, allocations: 8 kB / 246.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.007746, allocations: 11.98 kB / 246.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.007773, allocations: 11.98 kB / 246.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.007778, allocations: 0 / 246.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.0078, allocations: 28.83 kB / 246.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0078, allocations: 0 / 246.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.007948, allocations: 47.89 kB / 246.6 MB, free: 11.84 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 7.601e-05/0.008024, allocations: 80.42 kB / 246.7 MB, free: 11.76 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.008124, allocations: 72.77 kB / 246.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.008133, allocations: 3.984 kB / 246.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.00817, allocations: 44.78 kB / 246.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.008336, allocations: 35.91 kB / 246.9 MB, free: 11.6 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.01007, allocations: 428.3 kB / 247.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.01012, allocations: 71.83 kB / 247.4 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.01017, allocations: 21.42 kB / 247.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.01026, allocations: 75.36 kB / 247.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01026, allocations: 0 / 247.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of Templates: time 0.003643/0.0139, allocations: 1.931 MB / 249.4 MB, free: 9.066 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,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,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.681830558925867]