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.0009593/0.0009593, allocations: 85.95 kB / 23 MB, free: 1.504 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.001107/0.001107, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.8929/0.8929, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.563e-06/1.563e-06, allocations: 3.938 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.711e-05, allocations: 2.312 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00295/0.002977, allocations: 2.13 MB / 254.4 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.003962, allocations: 0.5658 MB / 254.9 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.004075, allocations: 4 kB / 254.9 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.004211, allocations: 35.64 kB / 255 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.004319, allocations: 51.5 kB / 255 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.004517, allocations: 51.91 kB / 255.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.004783, allocations: 250.7 kB / 255.3 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.004951, allocations: 53.77 kB / 255.4 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.005124, allocations: 131.8 kB / 255.5 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.005247, allocations: 75.84 kB / 255.6 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.005285, allocations: 20 kB / 255.6 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.005313, allocations: 20 kB / 255.6 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.005356, allocations: 47.83 kB / 255.7 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.00543, allocations: 75.83 kB / 255.7 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.005634, allocations: 155.5 kB / 255.9 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005637, allocations: 3.938 kB / 255.9 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005637, allocations: 0 / 255.9 MB, free: 3.578 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005642, allocations: 4 kB / 255.9 MB, free: 3.574 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.0005888/0.006231, allocations: 0.5153 MB / 256.4 MB, free: 3.023 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.006269, allocations: 15.98 kB / 256.4 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.006333, allocations: 32.84 kB / 256.5 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006525, allocations: 168 kB / 256.6 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.006556, allocations: 16.36 kB / 256.6 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.006588, allocations: 20.38 kB / 256.7 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.006822, allocations: 182.3 kB / 256.8 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.006832, allocations: 4.188 kB / 256.8 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.006848, allocations: 4.375 kB / 256.9 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.006858, allocations: 11.94 kB / 256.9 MB, free: 2.535 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.00695, allocations: 59.89 kB / 256.9 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.008024, allocations: 0.6261 MB / 257.6 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.008214, allocations: 103.1 kB / 257.7 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.008289, allocations: 55.66 kB / 257.7 MB, free: 1.633 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.0083, allocations: 3.984 kB / 257.7 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.00833, allocations: 41.38 kB / 257.7 MB, free: 1.574 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.008331, allocations: 3.938 kB / 257.8 MB, free: 1.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.000224/0.008555, allocations: 116.6 kB / 257.9 MB, free: 1.453 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.008587, allocations: 63.41 kB / 257.9 MB, free: 1.379 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.008695, allocations: 193.9 kB / 258.1 MB, free: 1.172 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.008709, allocations: 25.7 kB / 258.1 MB, free: 1.141 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.008792, allocations: 183 kB / 258.3 MB, free: 0.957 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.008829, allocations: 59.52 kB / 258.4 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.008885, allocations: 35.36 kB / 258.4 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.009023, allocations: 0.4961 MB / 258.9 MB, free: 356 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.009063, allocations: 19.98 kB / 258.9 MB, free: 336 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.009114, allocations: 43.33 kB / 259 MB, free: 284 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.944e-05/0.009203, allocations: 78.47 kB / 259 MB, free: 200 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009206, allocations: 4 kB / 259.1 MB, free: 196 kB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001607/0.009367, allocations: 113.5 kB / 259.2 MB, free: 76 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.009379, allocations: 4 kB / 259.2 MB, free: 72 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009384, allocations: 0 / 259.2 MB, free: 72 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.009397, allocations: 7.984 kB / 259.2 MB, free: 64 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.009546, allocations: 39.98 kB / 259.2 MB, free: 24 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.00955, allocations: 0 / 259.2 MB, free: 24 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.009608, allocations: 7.953 kB / 259.2 MB, free: 16 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.00962, allocations: 11.98 kB / 259.2 MB, free: 4 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 0.0001002/0.00972, allocations: 172.4 kB / 259.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.009755, allocations: 15.95 kB / 259.4 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.009786, allocations: 12.78 kB / 259.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.009789, allocations: 4 kB / 259.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.009793, allocations: 4 kB / 259.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.009796, allocations: 0 / 259.4 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.00999, allocations: 157.1 kB / 259.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.009992, allocations: 3.938 kB / 259.6 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.01014, allocations: 35.98 kB / 259.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01014, allocations: 0 / 259.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01015, allocations: 8 kB / 259.6 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01015, allocations: 0 / 259.6 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01015, allocations: 7.875 kB / 259.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.01039, allocations: 267.9 kB / 259.9 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.01041, allocations: 23.77 kB / 259.9 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01043, allocations: 0 / 259.9 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.01053, allocations: 12 kB / 259.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.01056, allocations: 11.97 kB / 260 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01057, allocations: 4 kB / 260 MB, free: 15.22 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.01063, allocations: 148.2 kB / 260.1 MB, free: 15.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01063, allocations: 0 / 260.1 MB, free: 15.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004808/0.01111, allocations: 47.89 kB / 260.2 MB, free: 15.03 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.0001039/0.01121, allocations: 99.19 kB / 260.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.01138, allocations: 76.14 kB / 260.3 MB, free: 14.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01138, allocations: 0 / 260.3 MB, free: 14.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.01145, allocations: 47.36 kB / 260.4 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.01174, allocations: 23.98 kB / 260.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.01259, allocations: 449.4 kB / 260.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.01264, allocations: 75.77 kB / 260.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.01269, allocations: 9.156 kB / 260.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.0128, allocations: 106.2 kB / 261 MB, free: 14.1 MB / 250.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0128, allocations: 0 / 261 MB, free: 14.1 MB / 250.7 MB Notification: Performance of Templates: time 0.003957/0.01676, allocations: 1.728 MB / 262.7 MB, free: 12.38 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.0106218247674406]