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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 110.1 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 191 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008881/0.0008881, allocations: 55.91 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3845, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003388/0.388, allocations: 2.146 MB / 402.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.389, allocations: 0.5376 MB / 403.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3891, allocations: 4 kB / 403.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.3893, allocations: 35.7 kB / 403.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3894, allocations: 55.48 kB / 403.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.3896, allocations: 55.92 kB / 403.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.3899, allocations: 235 kB / 403.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.3901, allocations: 73.66 kB / 403.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3902, allocations: 83.77 kB / 403.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.3904, allocations: 99.61 kB / 404 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.3904, allocations: 23.94 kB / 404.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-05/0.3905, allocations: 20 kB / 404.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.3906, allocations: 51.83 kB / 404.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.3907, allocations: 107.5 kB / 404.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.391, allocations: 231 kB / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.391, allocations: 0 / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.391, allocations: 0 / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.391, allocations: 0 / 404.5 MB, free: 5.129 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.0007952/0.3918, allocations: 498.6 kB / 405 MB, free: 4.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3919, allocations: 15.89 kB / 405 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.3919, allocations: 20.8 kB / 405 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.3923, allocations: 224 kB / 405.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3923, allocations: 16.38 kB / 405.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.3923, allocations: 16.38 kB / 405.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.3927, allocations: 181.9 kB / 405.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3928, allocations: 0 / 405.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.3928, allocations: 15.98 kB / 405.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3928, allocations: 4 kB / 405.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.3931, allocations: 139.9 kB / 405.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3943, allocations: 0.7508 MB / 406.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.3947, allocations: 158.5 kB / 406.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.3949, allocations: 101 kB / 406.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3949, allocations: 4 kB / 406.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3949, allocations: 38.56 kB / 406.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3949, allocations: 0 / 406.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004624/0.3954, allocations: 183.6 kB / 406.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3955, allocations: 55.34 kB / 406.9 MB, free: 2.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3956, allocations: 157.6 kB / 407 MB, free: 2.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3956, allocations: 25.7 kB / 407 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.3957, allocations: 136.3 kB / 407.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.3958, allocations: 55.53 kB / 407.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.3958, allocations: 29.7 kB / 407.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.396, allocations: 322.8 kB / 407.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3961, allocations: 55.97 kB / 407.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3962, allocations: 72.95 kB / 407.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.3965, allocations: 124.3 kB / 407.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3965, allocations: 0 / 407.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003038/0.3968, allocations: 173.5 kB / 408 MB, free: 1.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3968, allocations: 12.03 kB / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3969, allocations: 0 / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.3969, allocations: 7.875 kB / 408 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.3971, allocations: 43.92 kB / 408 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3971, allocations: 7.984 kB / 408 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.3972, allocations: 11.89 kB / 408.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3973, allocations: 8 kB / 408.1 MB, free: 1.281 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 0.0001319/0.3974, allocations: 125.8 kB / 408.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.3974, allocations: 11.95 kB / 408.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3975, allocations: 28.7 kB / 408.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3975, allocations: 0 / 408.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3975, allocations: 4 kB / 408.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3975, allocations: 0 / 408.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.3979, allocations: 265.5 kB / 408.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3979, allocations: 4 kB / 408.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.3981, allocations: 35.97 kB / 408.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3982, allocations: 0 / 408.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3982, allocations: 11.94 kB / 408.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3982, allocations: 4 kB / 408.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3982, allocations: 0 / 408.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.3987, allocations: 299.3 kB / 408.8 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.3987, allocations: 89 kB / 408.9 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3988, allocations: 11.97 kB / 408.9 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3989, allocations: 12 kB / 409 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.399, allocations: 11.98 kB / 409 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.399, allocations: 4 kB / 409 MB, free: 292 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.351e-05/0.3991, allocations: 115.2 kB / 409.1 MB, free: 176 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3991, allocations: 0 / 409.1 MB, free: 176 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3994, allocations: 47.89 kB / 409.1 MB, free: 128 kB / 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 0.0001493/0.3995, allocations: 99.72 kB / 409.2 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.3999, allocations: 132 kB / 409.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3999, allocations: 0 / 409.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.4, allocations: 63.91 kB / 409.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.4003, allocations: 23.98 kB / 409.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.4013, allocations: 0.5208 MB / 410 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4016, allocations: 0.7239 MB / 410.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.4017, allocations: 17.42 kB / 410.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.4018, allocations: 11.44 kB / 410.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4018, allocations: 0 / 410.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of Templates: time 0.00505/0.4068, allocations: 1.658 MB / 412.4 MB, free: 12.84 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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