Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001691/0.001691, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.522/1.522, allocations: 230.4 MB / 251.1 MB, free: 8.434 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 75.81 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2963, allocations: 53.31 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003737/0.3, allocations: 2.159 MB / 424.4 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3011, allocations: 0.5727 MB / 425 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3013, allocations: 4 kB / 425 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.3014, allocations: 31.7 kB / 425 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.3015, allocations: 55.5 kB / 425.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.3017, allocations: 59.84 kB / 425.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.302, allocations: 227 kB / 425.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.3023, allocations: 61.66 kB / 425.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3024, allocations: 91.69 kB / 425.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.3026, allocations: 103.6 kB / 425.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.3026, allocations: 20 kB / 425.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.3026, allocations: 20 kB / 425.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.3027, allocations: 43.78 kB / 425.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3028, allocations: 107.5 kB / 425.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.3031, allocations: 230.7 kB / 426 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3031, allocations: 4 kB / 426 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3031, allocations: 0 / 426 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3031, allocations: 0 / 426 MB, free: 4.074 MB / 334.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.000894/0.304, allocations: 0.4908 MB / 426.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3041, allocations: 8.031 kB / 426.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.3041, allocations: 24.8 kB / 426.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3045, allocations: 220.1 kB / 426.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3045, allocations: 16.31 kB / 426.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.3046, allocations: 20.38 kB / 426.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.305, allocations: 185.8 kB / 427 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.305, allocations: 0 / 427 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.305, allocations: 12 kB / 427 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.305, allocations: 4 kB / 427 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.3054, allocations: 139.8 kB / 427.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3068, allocations: 0.7509 MB / 427.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.3072, allocations: 150.6 kB / 428.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3074, allocations: 84.83 kB / 428.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3074, allocations: 4 kB / 428.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3074, allocations: 34.56 kB / 428.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3074, allocations: 0 / 428.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005348/0.308, allocations: 185.7 kB / 428.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.308, allocations: 59.34 kB / 428.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3082, allocations: 153.8 kB / 428.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3083, allocations: 25.7 kB / 428.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3084, allocations: 136.3 kB / 428.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.3085, allocations: 51.56 kB / 428.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.3085, allocations: 29.72 kB / 428.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3087, allocations: 326.8 kB / 429.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3089, allocations: 59.92 kB / 429.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.309, allocations: 69.67 kB / 429.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3093, allocations: 129.6 kB / 429.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3093, allocations: 0 / 429.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003397/0.3096, allocations: 176.6 kB / 429.5 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3096, allocations: 8 kB / 429.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3096, allocations: 0 / 429.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3097, allocations: 3.938 kB / 429.6 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3099, allocations: 43.97 kB / 429.6 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3099, allocations: 4 kB / 429.6 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.31, allocations: 19.81 kB / 429.6 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.31, allocations: 8 kB / 429.6 MB, free: 244 kB / 334.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 0.0001154/0.3101, allocations: 129.8 kB / 429.8 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.3102, allocations: 11.91 kB / 429.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.3102, allocations: 20.78 kB / 429.8 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3102, allocations: 0 / 429.8 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3102, allocations: 4 kB / 429.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3102, allocations: 3.984 kB / 429.8 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.3106, allocations: 253.6 kB / 430 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3106, allocations: 3.984 kB / 430 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.3108, allocations: 35.98 kB / 430.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3108, allocations: 0 / 430.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.3109, allocations: 11.94 kB / 430.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3109, allocations: 0 / 430.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3109, allocations: 0 / 430.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.3113, allocations: 301.8 kB / 430.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.3114, allocations: 96.95 kB / 430.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3114, allocations: 7.938 kB / 430.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3116, allocations: 12.03 kB / 430.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.3117, allocations: 11.98 kB / 430.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3117, allocations: 4 kB / 430.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.3118, allocations: 118.8 kB / 430.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3118, allocations: 0 / 430.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.312, allocations: 47.89 kB / 430.7 MB, free: 15.09 MB / 350.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 0.0001395/0.3122, allocations: 107.2 kB / 430.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3125, allocations: 123.9 kB / 430.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3125, allocations: 0 / 430.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3126, allocations: 55.92 kB / 431 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.313, allocations: 39.97 kB / 431 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3142, allocations: 0.525 MB / 431.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3146, allocations: 0.724 MB / 432.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.587e-05/0.3147, allocations: 9.438 kB / 432.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.3147, allocations: 11.44 kB / 432.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3147, allocations: 0 / 432.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Templates: time 0.005243/0.32, allocations: 1.691 MB / 434 MB, free: 11.77 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 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_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time