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.001348/0.001348, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001295/0.001295, allocations: 138.6 kB / 24.97 MB, free: 9.309 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.9487/0.9487, allocations: 173.3 MB / 201.5 MB, free: 9.27 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.824e-06/1.824e-06, allocations: 0 / 268.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.071e-05, allocations: 2.312 kB / 268.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002581/0.002612, allocations: 2.152 MB / 270.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007452/0.003357, allocations: 0.5336 MB / 270.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.003446, allocations: 4 kB / 270.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003564, allocations: 31.7 kB / 270.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.003644, allocations: 59.42 kB / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.003809, allocations: 51.92 kB / 270.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.004008, allocations: 242.9 kB / 271.1 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.004154, allocations: 53.77 kB / 271.2 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.00429, allocations: 135.7 kB / 271.3 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004391, allocations: 75.78 kB / 271.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.004422, allocations: 20 kB / 271.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.256e-05/0.004444, allocations: 20 kB / 271.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.004478, allocations: 43.89 kB / 271.5 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.004535, allocations: 75.83 kB / 271.6 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.004709, allocations: 159.4 kB / 271.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.004711, allocations: 0 / 271.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004712, allocations: 4 kB / 271.7 MB, free: 2.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.004717, allocations: 4 kB / 271.7 MB, free: 2.984 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.0005228/0.00524, allocations: 0.5037 MB / 272.2 MB, free: 2.445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.005278, allocations: 12.92 kB / 272.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.005341, allocations: 36.8 kB / 272.3 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.005533, allocations: 163.7 kB / 272.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.005554, allocations: 16.38 kB / 272.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.005582, allocations: 20.38 kB / 272.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.005816, allocations: 202.2 kB / 272.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.005826, allocations: 8.125 kB / 272.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.005842, allocations: 4.375 kB / 272.7 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.00585, allocations: 7.938 kB / 272.7 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.005959, allocations: 71.91 kB / 272.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.006704, allocations: 0.6684 MB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.006881, allocations: 118.3 kB / 273.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.006964, allocations: 59.61 kB / 273.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.006976, allocations: 4 kB / 273.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.007, allocations: 41.39 kB / 273.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.007001, allocations: 0 / 273.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000227/0.007228, allocations: 125.9 kB / 273.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.007257, allocations: 51.41 kB / 273.8 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.007356, allocations: 201.9 kB / 274 MB, free: 0.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.007376, allocations: 29.7 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.007448, allocations: 183 kB / 274.2 MB, free: 288 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.007477, allocations: 43.58 kB / 274.3 MB, free: 244 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.00752, allocations: 47.31 kB / 274.3 MB, free: 188 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.007637, allocations: 0.4961 MB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.00768, allocations: 31.92 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/0.007733, allocations: 47.36 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.511e-05/0.007828, allocations: 78.02 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.007831, allocations: 0 / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001459/0.007977, allocations: 129.5 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.00799, allocations: 4 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007995, allocations: 0 / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.008007, allocations: 4 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.00815, allocations: 43.97 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.008155, allocations: 7.969 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.008196, allocations: 7.953 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.008206, allocations: 12 kB / 275.2 MB, free: 15.3 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 7.359e-05/0.008279, allocations: 168.5 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.008302, allocations: 15.91 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.00833, allocations: 24.77 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008332, allocations: 0 / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.008335, allocations: 3.938 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008338, allocations: 0 / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.008482, allocations: 180.5 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008484, allocations: 4 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.008597, allocations: 39.91 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008599, allocations: 4 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.008609, allocations: 0 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.008611, allocations: 0 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008612, allocations: 0 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.00884, allocations: 291.8 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.008856, allocations: 11.89 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.008873, allocations: 7.984 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.00894, allocations: 12 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.008979, allocations: 7.984 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.008987, allocations: 8 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.009054, allocations: 158.1 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009054, allocations: 0 / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.009225, allocations: 47.89 kB / 276.1 MB, free: 14.27 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 9.219e-05/0.009318, allocations: 103.2 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.009458, allocations: 83.58 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.00946, allocations: 4.062 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.009509, allocations: 50.73 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.00972, allocations: 23.92 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.0105, allocations: 450.3 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.01054, allocations: 67.84 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.01058, allocations: 17.14 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.01062, allocations: 16.5 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01062, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Templates: time 0.003144/0.01376, allocations: 1.57 MB / 278.5 MB, free: 11.86 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 -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: 3.138679137919098]