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.0009973/0.0009973, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001019/0.001019, allocations: 158.9 kB / 25.75 MB, free: 8.949 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 0.9379/0.9379, allocations: 158.6 MB / 187.5 MB, free: 2.953 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.953e-06/1.953e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.527e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002924/0.00295, allocations: 2.13 MB / 253.2 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.003934, allocations: 0.5735 MB / 253.8 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004046, allocations: 4 kB / 253.8 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.004178, allocations: 31.64 kB / 253.9 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.004289, allocations: 63.42 kB / 253.9 MB, free: 4.965 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.004483, allocations: 51.92 kB / 254 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.004735, allocations: 242.8 kB / 254.2 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.004892, allocations: 57.75 kB / 254.3 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.005053, allocations: 131.8 kB / 254.4 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.005173, allocations: 71.78 kB / 254.5 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.005214, allocations: 20 kB / 254.5 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.939e-05/0.005244, allocations: 24 kB / 254.5 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.005287, allocations: 51.83 kB / 254.6 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.005364, allocations: 71.83 kB / 254.6 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005579, allocations: 155.5 kB / 254.8 MB, free: 4.105 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005581, allocations: 0 / 254.8 MB, free: 4.105 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005582, allocations: 0 / 254.8 MB, free: 4.105 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005587, allocations: 4 kB / 254.8 MB, free: 4.102 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.0006344/0.006222, allocations: 0.5153 MB / 255.3 MB, free: 3.551 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.006263, allocations: 15.98 kB / 255.3 MB, free: 3.535 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.006337, allocations: 32.78 kB / 255.3 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.006558, allocations: 171.9 kB / 255.5 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.006586, allocations: 16.38 kB / 255.5 MB, free: 3.297 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.006624, allocations: 20.38 kB / 255.5 MB, free: 3.277 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.006916, allocations: 194.3 kB / 255.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006925, allocations: 192 / 255.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.006947, allocations: 8.375 kB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.006959, allocations: 11.94 kB / 255.8 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.007111, allocations: 75.89 kB / 255.8 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.008025, allocations: 0.649 MB / 256.5 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.008253, allocations: 119 kB / 256.6 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.00836, allocations: 59.67 kB / 256.7 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.008371, allocations: 0 / 256.7 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.008401, allocations: 45.39 kB / 256.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.008402, allocations: 0 / 256.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002812/0.008684, allocations: 133.8 kB / 256.8 MB, free: 1.887 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.008714, allocations: 51.41 kB / 256.9 MB, free: 1.824 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008842, allocations: 197.9 kB / 257.1 MB, free: 1.609 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.008857, allocations: 25.7 kB / 257.1 MB, free: 1.578 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.008941, allocations: 187 kB / 257.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.008981, allocations: 59.52 kB / 257.3 MB, free: 1.332 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.009039, allocations: 35.36 kB / 257.4 MB, free: 1.289 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.009174, allocations: 0.4961 MB / 257.9 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.00923, allocations: 27.92 kB / 257.9 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.009303, allocations: 51.36 kB / 257.9 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.009425, allocations: 86.48 kB / 258 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.009427, allocations: 0 / 258 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002016/0.009629, allocations: 125.6 kB / 258.2 MB, free: 488 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.009642, allocations: 8.031 kB / 258.2 MB, free: 480 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.009648, allocations: 4 kB / 258.2 MB, free: 476 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.009661, allocations: 0 / 258.2 MB, free: 476 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.009831, allocations: 39.92 kB / 258.2 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.009838, allocations: 3.984 kB / 258.2 MB, free: 432 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.009901, allocations: 11.95 kB / 258.2 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.009911, allocations: 4 kB / 258.2 MB, free: 416 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 9.228e-05/0.01, allocations: 172.4 kB / 258.4 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01004, allocations: 15.95 kB / 258.4 MB, free: 216 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.01008, allocations: 24.77 kB / 258.4 MB, free: 188 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01008, allocations: 0 / 258.4 MB, free: 188 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01008, allocations: 0 / 258.4 MB, free: 188 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01009, allocations: 3.984 kB / 258.4 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.0103, allocations: 184.5 kB / 258.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01031, allocations: 0 / 258.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.01046, allocations: 35.97 kB / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01046, allocations: 0 / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01048, allocations: 4 kB / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01048, allocations: 0 / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01048, allocations: 0 / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.01076, allocations: 295.6 kB / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01078, allocations: 15.84 kB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.0108, allocations: 8 kB / 259 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01091, allocations: 11.98 kB / 259 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.01095, allocations: 7.984 kB / 259 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.01096, allocations: 4 kB / 259 MB, free: 15.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.832e-05/0.01103, allocations: 148.2 kB / 259.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01103, allocations: 0 / 259.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.01131, allocations: 51.83 kB / 259.2 MB, free: 15.38 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 9.079e-05/0.0114, allocations: 103.2 kB / 259.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.01157, allocations: 80.11 kB / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01158, allocations: 4 kB / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.01164, allocations: 47.59 kB / 259.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.01195, allocations: 31.92 kB / 259.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000984/0.01294, allocations: 449.5 kB / 259.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.678e-05/0.01299, allocations: 75.83 kB / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.01305, allocations: 9.141 kB / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.0131, allocations: 16.5 kB / 260 MB, free: 14.52 MB / 250.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0131, allocations: 0 / 260 MB, free: 14.52 MB / 250.7 MB Notification: Performance of Templates: time 0.003997/0.01709, allocations: 1.564 MB / 261.5 MB, free: 12.96 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.0881166888866574]