Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.011/1.011, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.458e-05, allocations: 2.312 kB / 251.5 MB, free: 7.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005742/0.005756, allocations: 2.118 MB / 253.6 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.006558, allocations: 0.5658 MB / 254.2 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.006659, allocations: 4 kB / 254.2 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.006789, allocations: 31.72 kB / 254.2 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.636e-05/0.006885, allocations: 51.48 kB / 254.2 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.007055, allocations: 55.91 kB / 254.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.009906, allocations: 254.6 kB / 254.5 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.01006, allocations: 57.77 kB / 254.6 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.01022, allocations: 131.8 kB / 254.7 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.01036, allocations: 71.83 kB / 254.8 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.0104, allocations: 20 kB / 254.8 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.302e-05/0.01043, allocations: 24 kB / 254.8 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.01047, allocations: 43.83 kB / 254.9 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.01054, allocations: 75.83 kB / 255 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.01075, allocations: 159.5 kB / 255.1 MB, free: 3.668 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01075, allocations: 0 / 255.1 MB, free: 3.668 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.01075, allocations: 0 / 255.1 MB, free: 3.668 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.01075, allocations: 0 / 255.1 MB, free: 3.668 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.0006236/0.01138, allocations: 0.5192 MB / 255.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.01143, allocations: 11.98 kB / 255.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.01149, allocations: 40.84 kB / 255.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.01167, allocations: 164.3 kB / 255.8 MB, free: 2.875 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.0117, allocations: 12.38 kB / 255.9 MB, free: 2.863 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.01173, allocations: 20.38 kB / 255.9 MB, free: 2.844 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.01197, allocations: 190.2 kB / 256.1 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.01198, allocations: 192 / 256.1 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.01199, allocations: 8.375 kB / 256.1 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.012, allocations: 7.938 kB / 256.1 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.0121, allocations: 55.89 kB / 256.1 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.01288, allocations: 0.6339 MB / 256.8 MB, free: 1.887 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.01303, allocations: 103 kB / 256.9 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.0131, allocations: 63.53 kB / 256.9 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.01311, allocations: 4 kB / 256.9 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.01314, allocations: 33.39 kB / 257 MB, free: 1.66 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.01314, allocations: 0 / 257 MB, free: 1.66 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001963/0.01334, allocations: 121.5 kB / 257.1 MB, free: 1.539 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.01336, allocations: 51.41 kB / 257.1 MB, free: 1.477 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.01346, allocations: 209.7 kB / 257.3 MB, free: 1.254 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.01348, allocations: 25.7 kB / 257.4 MB, free: 1.223 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.01355, allocations: 187 kB / 257.5 MB, free: 1.035 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.01358, allocations: 51.53 kB / 257.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.01362, allocations: 39.36 kB / 257.6 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01375, allocations: 0.5 MB / 258.1 MB, free: 436 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.01378, allocations: 15.98 kB / 258.2 MB, free: 420 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.01382, allocations: 47.33 kB / 258.2 MB, free: 364 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.01389, allocations: 63.28 kB / 258.3 MB, free: 292 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01389, allocations: 0 / 258.3 MB, free: 292 kB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001161/0.014, allocations: 121.1 kB / 258.4 MB, free: 168 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01402, allocations: 8 kB / 258.4 MB, free: 160 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01402, allocations: 0 / 258.4 MB, free: 160 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01403, allocations: 0 / 258.4 MB, free: 160 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01415, allocations: 47.91 kB / 258.4 MB, free: 112 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.01416, allocations: 0 / 258.4 MB, free: 112 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.0142, allocations: 11.95 kB / 258.4 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.0142, allocations: 8.031 kB / 258.5 MB, free: 92 kB / 234.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.69e-05/0.01429, allocations: 172.4 kB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.01431, allocations: 11.95 kB / 258.6 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.01434, allocations: 16.78 kB / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01434, allocations: 0 / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01435, allocations: 0 / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01435, allocations: 0 / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.01449, allocations: 153.1 kB / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01449, allocations: 11.86 kB / 258.8 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.0149, allocations: 35.98 kB / 258.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.0149, allocations: 11.94 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01491, allocations: 4 kB / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01491, allocations: 0 / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01491, allocations: 0 / 258.9 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.01509, allocations: 271.8 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.01511, allocations: 27.72 kB / 259.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.01512, allocations: 3.984 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.01518, allocations: 12 kB / 259.2 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.01521, allocations: 7.984 kB / 259.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01522, allocations: 4 kB / 259.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.01526, allocations: 148.2 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01526, allocations: 0 / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.01543, allocations: 51.89 kB / 259.4 MB, free: 15.11 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 6.772e-05/0.0155, allocations: 95.3 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.0156, allocations: 75.58 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.0156, allocations: 0 / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.01564, allocations: 39.61 kB / 259.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01584, allocations: 27.98 kB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.01655, allocations: 453.3 kB / 260.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.64e-05/0.01659, allocations: 67.84 kB / 260.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.076e-05/0.01663, allocations: 9.141 kB / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.727e-05/0.01673, allocations: 110.2 kB / 260.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01673, allocations: 0 / 260.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of Templates: time 0.0034/0.02013, allocations: 1.699 MB / 261.9 MB, free: 12.5 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 3.2638506670482457]