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.001638/0.001638, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 14.72 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.002019/0.002019, allocations: 216 kB / 24.47 MB, free: 3.793 MB / 14.72 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 1.537/1.537, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 55.92 kB / 347.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.301, allocations: 49.15 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003322/0.3044, allocations: 1.998 MB / 398.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.3053, allocations: 0.5578 MB / 399.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3054, allocations: 2.531 kB / 399.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.3056, allocations: 34.08 kB / 399.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.3057, allocations: 56.56 kB / 399.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.3059, allocations: 60.14 kB / 399.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.3062, allocations: 231.9 kB / 399.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.3064, allocations: 58.88 kB / 399.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3065, allocations: 91.06 kB / 400 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3066, allocations: 91.17 kB / 400.1 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.3066, allocations: 21.78 kB / 400.1 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.3067, allocations: 20.19 kB / 400.1 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.3067, allocations: 50.36 kB / 400.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.559e-05/0.3068, allocations: 85.17 kB / 400.2 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.3071, allocations: 235.5 kB / 400.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3071, allocations: 4.703 kB / 400.5 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3071, allocations: 1.531 kB / 400.5 MB, free: 7.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3072, allocations: 0 / 400.5 MB, free: 7.152 MB / 318.1 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.0007031/0.3079, allocations: 423.5 kB / 400.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3079, allocations: 17.7 kB / 400.9 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.308, allocations: 19.22 kB / 400.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3082, allocations: 159.3 kB / 401.1 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3082, allocations: 18.94 kB / 401.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.3083, allocations: 17.92 kB / 401.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.3087, allocations: 230.1 kB / 401.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3087, allocations: 0 / 401.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3087, allocations: 6.781 kB / 401.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3087, allocations: 8.375 kB / 401.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.3091, allocations: 145.7 kB / 401.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.3103, allocations: 0.6223 MB / 402.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.3107, allocations: 149.6 kB / 402.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.3108, allocations: 87.84 kB / 402.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3109, allocations: 3.375 kB / 402.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3109, allocations: 36.38 kB / 402.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3109, allocations: 0 / 402.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004689/0.3114, allocations: 190.6 kB / 402.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.3114, allocations: 54.16 kB / 402.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3115, allocations: 146.9 kB / 402.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3115, allocations: 26.8 kB / 402.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.3116, allocations: 142.6 kB / 402.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.3116, allocations: 47.42 kB / 403 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.3117, allocations: 36.97 kB / 403 MB, free: 5.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.3117, allocations: 321.2 kB / 403.3 MB, free: 5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3118, allocations: 50.72 kB / 403.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.312, allocations: 81.45 kB / 403.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.3122, allocations: 116.7 kB / 403.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3122, allocations: 0 / 403.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003081/0.3125, allocations: 184.5 kB / 403.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3125, allocations: 4.688 kB / 403.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3125, allocations: 1.922 kB / 403.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3126, allocations: 5.188 kB / 403.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.3128, allocations: 39.22 kB / 403.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3128, allocations: 1.219 kB / 403.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.666e-05/0.3129, allocations: 23.7 kB / 403.8 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.3129, allocations: 4.562 kB / 403.8 MB, free: 4.77 MB / 318.1 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.469e-05/0.313, allocations: 124.4 kB / 404 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.313, allocations: 11.66 kB / 404 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.313, allocations: 24.34 kB / 404 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.313, allocations: 1.188 kB / 404 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.313, allocations: 4 kB / 404 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.313, allocations: 6.391 kB / 404 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3132, allocations: 182.6 kB / 404.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3132, allocations: 1.062 kB / 404.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.3134, allocations: 37.11 kB / 404.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3134, allocations: 9.094 kB / 404.2 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3135, allocations: 4.938 kB / 404.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3135, allocations: 5.125 kB / 404.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3135, allocations: 0 / 404.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.3139, allocations: 301.5 kB / 404.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.3139, allocations: 15.53 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3139, allocations: 7.938 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.314, allocations: 11.92 kB / 404.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3141, allocations: 4.984 kB / 404.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3141, allocations: 8.656 kB / 404.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.603e-05/0.3141, allocations: 115.9 kB / 404.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3141, allocations: 0 / 404.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3144, allocations: 51.42 kB / 404.7 MB, free: 4.113 MB / 318.1 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 8.805e-05/0.3145, allocations: 105.1 kB / 404.8 MB, free: 4.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.3148, allocations: 116.5 kB / 405 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3148, allocations: 1.094 kB / 405 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3149, allocations: 57.8 kB / 405 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3152, allocations: 21.11 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/0.3161, allocations: 0.5192 MB / 405.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3162, allocations: 117 kB / 405.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.3163, allocations: 14.28 kB / 405.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.3164, allocations: 14.62 kB / 405.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3164, allocations: 0 / 405.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of Templates: time 0.004965/0.3213, allocations: 1.732 MB / 407.4 MB, free: 3.258 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" 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 [Calling sys.exit(0), Time elapsed: 5.482736108824611]