Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002274/0.002274, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3784, allocations: 50.55 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003998/0.3825, allocations: 2.152 MB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3838, allocations: 0.5727 MB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.384, allocations: 4 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.3842, allocations: 27.72 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.3844, allocations: 51.48 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3847, allocations: 51.92 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.3851, allocations: 239 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.3854, allocations: 81.64 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3855, allocations: 83.72 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3857, allocations: 99.59 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.3857, allocations: 20 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.3858, allocations: 27.94 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.3859, allocations: 39.91 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.386, allocations: 103.5 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.3863, allocations: 232.3 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3863, allocations: 8 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3863, allocations: 0 / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3863, allocations: 0 / 413.7 MB, free: 13.81 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.0008833/0.3872, allocations: 498.8 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.3873, allocations: 8.031 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.3874, allocations: 24.66 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.3877, allocations: 224 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3878, allocations: 16.31 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3879, allocations: 24.31 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.3883, allocations: 177.9 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3883, allocations: 4 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3883, allocations: 8 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3883, allocations: 4 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.3887, allocations: 143.9 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3899, allocations: 0.7351 MB / 415.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.3903, allocations: 162.5 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.3905, allocations: 92.83 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3905, allocations: 0 / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3906, allocations: 34.56 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3906, allocations: 0 / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004892/0.3911, allocations: 189.8 kB / 416 MB, free: 11.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.3911, allocations: 55.34 kB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3913, allocations: 160.7 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3913, allocations: 25.7 kB / 416.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.3914, allocations: 140.1 kB / 416.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.3914, allocations: 47.36 kB / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.3915, allocations: 29.72 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3917, allocations: 322.8 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3918, allocations: 51.97 kB / 416.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3919, allocations: 72.09 kB / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3922, allocations: 128.7 kB / 417 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3922, allocations: 3.938 kB / 417 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003436/0.3926, allocations: 177.4 kB / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3926, allocations: 4 kB / 417.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3926, allocations: 0 / 417.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3926, allocations: 7.938 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3928, allocations: 51.88 kB / 417.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3929, allocations: 0 / 417.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.393, allocations: 15.84 kB / 417.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.393, allocations: 7.984 kB / 417.3 MB, free: 9.98 MB / 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.0001151/0.3931, allocations: 129.8 kB / 417.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3932, allocations: 11.91 kB / 417.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.3932, allocations: 12.84 kB / 417.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3932, allocations: 3.938 kB / 417.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3932, allocations: 8 kB / 417.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.3933, allocations: 88.94 kB / 417.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.3933, allocations: 4 kB / 417.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3935, allocations: 23.92 kB / 417.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.3935, allocations: 4 kB / 417.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000481/0.394, allocations: 244.8 kB / 417.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004867/0.3945, allocations: 378.1 kB / 418.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001328/0.3947, allocations: 59.95 kB / 418.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.027e-05/0.3948, allocations: 115.2 kB / 418.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of Backend: time 6.01e-07/0.3948, allocations: 4 kB / 418.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.3953, allocations: 154.3 kB / 418.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of SimCode: time 0.001171/0.3965, allocations: 0.9375 MB / 419.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of Templates: time 0.0051/0.4016, allocations: 2.054 MB / 421.5 MB, free: 5.684 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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