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.001155/0.001155, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002846, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001077/0.001077, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002553, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9661/0.9661, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.164/1.13, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.413e-06/1.413e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.295e-05, allocations: 5.406 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002121/0.002134, allocations: 2.161 MB / 224.2 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.002845, allocations: 0.589 MB / 224.8 MB, free: 13.28 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.002921, allocations: 4 kB / 224.8 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.392e-05/0.002995, allocations: 35.59 kB / 224.8 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.717e-05/0.003082, allocations: 51.48 kB / 224.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.003211, allocations: 59.84 kB / 224.9 MB, free: 13.13 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.003422, allocations: 238.9 kB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.003548, allocations: 58.42 kB / 225.2 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.003706, allocations: 147 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.003822, allocations: 75.78 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.003857, allocations: 24 kB / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.003888, allocations: 20 kB / 225.5 MB, free: 12.58 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.003923, allocations: 31.88 kB / 225.5 MB, free: 12.55 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.003983, allocations: 63.88 kB / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004172, allocations: 143.5 kB / 225.7 MB, free: 12.35 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.004183, allocations: 0 / 225.7 MB, free: 12.35 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004184, allocations: 0 / 225.7 MB, free: 12.35 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.004194, allocations: 0 / 225.7 MB, free: 12.35 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.0005475/0.004741, allocations: 439.7 kB / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.004772, allocations: 8.031 kB / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.004832, allocations: 36.91 kB / 226.2 MB, free: 11.85 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.004995, allocations: 137.5 kB / 226.3 MB, free: 11.69 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.005015, allocations: 12.38 kB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.005049, allocations: 20.38 kB / 226.3 MB, free: 11.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.005262, allocations: 190.2 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.00527, allocations: 192 / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.005285, allocations: 8.375 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.005294, allocations: 7.938 kB / 226.5 MB, free: 11.44 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.005375, allocations: 55.86 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.006033, allocations: 0.5128 MB / 227.1 MB, free: 10.84 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.006186, allocations: 82.53 kB / 227.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.00625, allocations: 52.83 kB / 227.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.00626, allocations: 0 / 227.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.006282, allocations: 34.56 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.006283, allocations: 0 / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001672/0.00645, allocations: 97.59 kB / 227.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.006475, allocations: 55.66 kB / 227.4 MB, free: 10.48 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.006558, allocations: 146.5 kB / 227.6 MB, free: 10.32 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.006573, allocations: 33.64 kB / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.006629, allocations: 136.2 kB / 227.7 MB, free: 10.14 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.006662, allocations: 51.52 kB / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.00671, allocations: 37.69 kB / 227.8 MB, free: 10.05 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.006789, allocations: 322.8 kB / 228.1 MB, free: 9.727 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.006815, allocations: 12 kB / 228.1 MB, free: 9.715 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.006857, allocations: 37.69 kB / 228.2 MB, free: 9.672 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.006935, allocations: 73.53 kB / 228.2 MB, free: 9.594 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006936, allocations: 0 / 228.2 MB, free: 9.594 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001224/0.007059, allocations: 96.06 kB / 228.3 MB, free: 9.496 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007071, allocations: 8 kB / 228.3 MB, free: 9.488 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007076, allocations: 0 / 228.3 MB, free: 9.488 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007088, allocations: 3.938 kB / 228.3 MB, free: 9.484 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.00731, allocations: 47.97 kB / 228.4 MB, free: 9.438 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.007315, allocations: 4 kB / 228.4 MB, free: 9.434 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.007371, allocations: 19.97 kB / 228.4 MB, free: 9.414 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.007377, allocations: 0 / 228.4 MB, free: 9.414 MB / 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 6.711e-05/0.007444, allocations: 125.7 kB / 228.5 MB, free: 9.281 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.007475, allocations: 15.98 kB / 228.6 MB, free: 9.266 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.007504, allocations: 20.77 kB / 228.6 MB, free: 9.246 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.007506, allocations: 0 / 228.6 MB, free: 9.246 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.007507, allocations: 0 / 228.6 MB, free: 9.246 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00751, allocations: 0 / 228.6 MB, free: 9.246 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.007678, allocations: 133.7 kB / 228.7 MB, free: 9.098 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.00768, allocations: 0 / 228.7 MB, free: 9.098 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.007841, allocations: 51.97 kB / 228.8 MB, free: 9.047 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.007855, allocations: 7.953 kB / 228.8 MB, free: 9.039 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007857, allocations: 0 / 228.8 MB, free: 9.039 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.007865, allocations: 0 / 228.8 MB, free: 9.039 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.007868, allocations: 3.984 kB / 228.8 MB, free: 9.035 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007869, allocations: 0 / 228.8 MB, free: 9.035 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.008045, allocations: 211.3 kB / 229 MB, free: 8.812 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.008063, allocations: 4 kB / 229 MB, free: 8.809 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/0.008151, allocations: 12 kB / 229 MB, free: 8.797 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.008183, allocations: 15.97 kB / 229 MB, free: 8.781 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.008189, allocations: 0 / 229 MB, free: 8.781 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.779e-05/0.008217, allocations: 33.8 kB / 229 MB, free: 8.746 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008217, allocations: 0 / 229 MB, free: 8.746 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.008424, allocations: 51.84 kB / 229.1 MB, free: 8.695 MB / 234.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.074e-05/0.008495, allocations: 80.42 kB / 229.2 MB, free: 8.609 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.00861, allocations: 72.75 kB / 229.2 MB, free: 8.535 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.008619, allocations: 4.094 kB / 229.2 MB, free: 8.531 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.008673, allocations: 50.78 kB / 229.3 MB, free: 8.48 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.008971, allocations: 338.7 kB / 229.6 MB, free: 8.082 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.01114, allocations: 408.4 kB / 230 MB, free: 7.66 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.01119, allocations: 75.83 kB / 230.1 MB, free: 7.566 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.01124, allocations: 13.48 kB / 230.1 MB, free: 7.551 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.01135, allocations: 83.34 kB / 230.2 MB, free: 7.469 MB / 234.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01135, allocations: 4 kB / 230.2 MB, free: 7.465 MB / 234.7 MB Notification: Performance of Templates: time 0.003932/0.01529, allocations: 1.974 MB / 232.2 MB, free: 5.508 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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,G.useHeatPort,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,Ro.useHeatPort,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: 2.8738556439056993]