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.001008/0.001008, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0011/0.0011, allocations: 169.3 kB / 25.33 MB, free: 9.465 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.9528/0.9528, allocations: 158.6 MB / 187.2 MB, free: 2.488 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 2.014e-06/2.014e-06, allocations: 0 / 251 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.23e-05, allocations: 6.312 kB / 251 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003008/0.00303, allocations: 2.136 MB / 253.2 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008821/0.003912, allocations: 0.5813 MB / 253.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.003999, allocations: 0 / 253.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.004122, allocations: 27.72 kB / 253.8 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.0042, allocations: 59.48 kB / 253.8 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.004392, allocations: 55.91 kB / 253.9 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.004595, allocations: 234.9 kB / 254.1 MB, free: 472 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.004753, allocations: 53.78 kB / 254.2 MB, free: 420 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.004888, allocations: 135.7 kB / 254.3 MB, free: 284 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.005007, allocations: 75.78 kB / 254.4 MB, free: 208 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.00504, allocations: 20 kB / 254.4 MB, free: 188 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.005067, allocations: 20 kB / 254.4 MB, free: 168 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.005112, allocations: 47.83 kB / 254.5 MB, free: 120 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.005176, allocations: 79.81 kB / 254.6 MB, free: 40 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.005373, allocations: 155.5 kB / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005375, allocations: 0 / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005376, allocations: 0 / 254.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.00538, allocations: 3.938 kB / 254.7 MB, free: 15.88 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.0005344/0.005915, allocations: 0.5114 MB / 255.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.005958, allocations: 19.97 kB / 255.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.006018, allocations: 36.84 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.006208, allocations: 164 kB / 255.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.006233, allocations: 16.38 kB / 255.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.006275, allocations: 16.38 kB / 255.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.006531, allocations: 202.2 kB / 255.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006539, allocations: 192 / 255.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.006558, allocations: 8.375 kB / 255.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.00657, allocations: 7.938 kB / 255.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.006685, allocations: 71.91 kB / 255.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.007457, allocations: 0.6568 MB / 256.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.007642, allocations: 119 kB / 256.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.00773, allocations: 59.67 kB / 256.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.007742, allocations: 4 kB / 256.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.00777, allocations: 41.38 kB / 256.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.007772, allocations: 4 kB / 256.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000241/0.008013, allocations: 128.7 kB / 256.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.008039, allocations: 51.41 kB / 256.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.008448, allocations: 193.9 kB / 257 MB, free: 13.4 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.008462, allocations: 33.69 kB / 257 MB, free: 13.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.008535, allocations: 182.9 kB / 257.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.008564, allocations: 55.47 kB / 257.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.008608, allocations: 43.36 kB / 257.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.008725, allocations: 0.4961 MB / 257.8 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.008768, allocations: 23.98 kB / 257.8 MB, free: 12.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.008823, allocations: 51.36 kB / 257.9 MB, free: 12.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.317e-05/0.008916, allocations: 74.33 kB / 258 MB, free: 12.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008918, allocations: 0 / 258 MB, free: 12.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001486/0.009067, allocations: 137.4 kB / 258.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.009079, allocations: 4 kB / 258.1 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.009084, allocations: 0 / 258.1 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.009101, allocations: 8.031 kB / 258.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.009239, allocations: 43.91 kB / 258.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.009246, allocations: 0 / 258.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.009289, allocations: 11.95 kB / 258.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.009297, allocations: 4 kB / 258.2 MB, free: 12.2 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 7.476e-05/0.009372, allocations: 168.5 kB / 258.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.009398, allocations: 19.94 kB / 258.3 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.009427, allocations: 12.78 kB / 258.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009429, allocations: 4 kB / 258.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.009433, allocations: 4 kB / 258.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009436, allocations: 3.984 kB / 258.4 MB, free: 11.97 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.009585, allocations: 188.5 kB / 258.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.009585, allocations: 0 / 258.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.009691, allocations: 35.92 kB / 258.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009693, allocations: 4 kB / 258.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.009704, allocations: 4 kB / 258.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.009705, allocations: 0 / 258.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009706, allocations: 0 / 258.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.009942, allocations: 283.8 kB / 258.9 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.00996, allocations: 23.83 kB / 258.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.009976, allocations: 4 kB / 258.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.01004, allocations: 8 kB / 258.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.01008, allocations: 11.92 kB / 258.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.01009, allocations: 15.92 kB / 258.9 MB, free: 11.35 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.01015, allocations: 144.2 kB / 259.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01015, allocations: 0 / 259.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.01032, allocations: 47.89 kB / 259.1 MB, free: 11.16 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.91e-05/0.0104, allocations: 103.2 kB / 259.2 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.01054, allocations: 86.39 kB / 259.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01054, allocations: 0 / 259.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.01059, allocations: 47.61 kB / 259.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.0108, allocations: 27.92 kB / 259.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/0.01156, allocations: 459.4 kB / 259.8 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.0116, allocations: 71.83 kB / 259.9 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.01163, allocations: 9.156 kB / 259.9 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.01167, allocations: 16.5 kB / 259.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01167, allocations: 0 / 259.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of Templates: time 0.003137/0.01481, allocations: 1.564 MB / 261.5 MB, free: 8.746 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.2294596219435334]