Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 186.5 kB / 17.27 MB, free: 4.48 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 104.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009872/0.0009875, allocations: 43.88 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3687, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004262/0.373, allocations: 2.178 MB / 401.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3742, allocations: 0.533 MB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.3744, allocations: 3.938 kB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3746, allocations: 23.78 kB / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.3748, allocations: 51.61 kB / 402.3 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3751, allocations: 43.95 kB / 402.3 MB, free: 30.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.3755, allocations: 227 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3758, allocations: 66.08 kB / 402.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3759, allocations: 79.72 kB / 402.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3761, allocations: 95.59 kB / 402.8 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.3762, allocations: 12 kB / 402.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.3762, allocations: 19.94 kB / 402.8 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.3763, allocations: 35.91 kB / 402.8 MB, free: 29.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3764, allocations: 99.52 kB / 402.9 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3768, allocations: 224.8 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3768, allocations: 4 kB / 403.1 MB, free: 29.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3768, allocations: 0 / 403.1 MB, free: 29.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3768, allocations: 0 / 403.1 MB, free: 29.67 MB / 298.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.001062/0.3779, allocations: 496.4 kB / 403.6 MB, free: 29.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.378, allocations: 8.031 kB / 403.6 MB, free: 29.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.3781, allocations: 24.66 kB / 403.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3784, allocations: 216.6 kB / 403.9 MB, free: 28.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.3784, allocations: 16.38 kB / 403.9 MB, free: 28.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.3785, allocations: 16.38 kB / 403.9 MB, free: 28.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.379, allocations: 185.8 kB / 404.1 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3791, allocations: 4 kB / 404.1 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.3791, allocations: 12 kB / 404.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3792, allocations: 4 kB / 404.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.3796, allocations: 139.9 kB / 404.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.3812, allocations: 0.7507 MB / 405 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.3818, allocations: 162.5 kB / 405.2 MB, free: 27.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.382, allocations: 93.56 kB / 405.2 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3821, allocations: 4 kB / 405.2 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3821, allocations: 34.56 kB / 405.3 MB, free: 27.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.3821, allocations: 0 / 405.3 MB, free: 27.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006266/0.3827, allocations: 193.1 kB / 405.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.3828, allocations: 55.34 kB / 405.5 MB, free: 27.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.383, allocations: 149.8 kB / 405.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.383, allocations: 33.64 kB / 405.7 MB, free: 26.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.3831, allocations: 140.2 kB / 405.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3831, allocations: 43.36 kB / 405.9 MB, free: 26.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.3832, allocations: 33.7 kB / 405.9 MB, free: 26.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.3833, allocations: 326.8 kB / 406.2 MB, free: 26.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3835, allocations: 55.92 kB / 406.3 MB, free: 26.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.3837, allocations: 69.69 kB / 406.4 MB, free: 26.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.384, allocations: 121.6 kB / 406.5 MB, free: 26.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.384, allocations: 0 / 406.5 MB, free: 26.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004406/0.3845, allocations: 180 kB / 406.7 MB, free: 25.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3845, allocations: 8 kB / 406.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3845, allocations: 0 / 406.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3846, allocations: 3.938 kB / 406.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3849, allocations: 47.94 kB / 406.7 MB, free: 25.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3849, allocations: 7.984 kB / 406.7 MB, free: 25.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.3851, allocations: 15.84 kB / 406.7 MB, free: 25.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3851, allocations: 4 kB / 406.7 MB, free: 25.83 MB / 298.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.0001162/0.3852, allocations: 129.8 kB / 406.9 MB, free: 25.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.3853, allocations: 11.89 kB / 406.9 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.3854, allocations: 20.78 kB / 406.9 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3854, allocations: 3.938 kB / 406.9 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3854, allocations: 8 kB / 406.9 MB, free: 25.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3854, allocations: 0 / 406.9 MB, free: 25.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.3858, allocations: 269.4 kB / 407.2 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3858, allocations: 0 / 407.2 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.3861, allocations: 39.91 kB / 407.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3861, allocations: 0 / 407.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3862, allocations: 11.94 kB / 407.2 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3862, allocations: 0 / 407.2 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3862, allocations: 4 kB / 407.2 MB, free: 25.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.3889, allocations: 1.517 MB / 408.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.389, allocations: 92.86 kB / 408.8 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.3891, allocations: 4 kB / 408.8 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3893, allocations: 24.16 kB / 408.9 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.3894, allocations: 7.984 kB / 408.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3894, allocations: 3.938 kB / 408.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3895, allocations: 117.5 kB / 409 MB, free: 23.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3895, allocations: 4 kB / 409 MB, free: 23.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005849/0.3901, allocations: 55.91 kB / 409 MB, free: 23.3 MB / 298.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.0001631/0.3903, allocations: 111.1 kB / 409.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.3907, allocations: 119.9 kB / 409.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3908, allocations: 0 / 409.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3909, allocations: 63.91 kB / 409.3 MB, free: 23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.3916, allocations: 26.94 kB / 409.4 MB, free: 22.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3931, allocations: 0.7408 MB / 410.1 MB, free: 22.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3934, allocations: 0.7205 MB / 410.8 MB, free: 21.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.3935, allocations: 17.42 kB / 410.8 MB, free: 21.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.3936, allocations: 15.44 kB / 410.9 MB, free: 21.42 MB / 298.7 MB Notification: Performance of SimCode: time 2.966e-06/0.3936, allocations: 4 kB / 410.9 MB, free: 21.42 MB / 298.7 MB Notification: Performance of Templates: time 0.006586/0.4002, allocations: 1.856 MB / 412.7 MB, free: 19.58 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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