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.001481/0.001481, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2498, allocations: 50.56 MB / 410 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00295/0.2528, allocations: 2.14 MB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.2537, allocations: 0.5727 MB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.2537, allocations: 4 kB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2539, allocations: 27.72 kB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.254, allocations: 59.48 kB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.2542, allocations: 51.92 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2544, allocations: 227 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.2546, allocations: 89.58 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2547, allocations: 83.72 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2549, allocations: 103.6 kB / 413.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.2549, allocations: 20 kB / 413.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.255, allocations: 20 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.255, allocations: 39.89 kB / 413.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.2551, allocations: 107.5 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2554, allocations: 232.3 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2554, allocations: 0 / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2554, allocations: 4 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2554, allocations: 0 / 413.7 MB, free: 13.87 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.0007173/0.2561, allocations: 494.8 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2562, allocations: 12.02 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.2562, allocations: 24.66 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2565, allocations: 224 kB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.2565, allocations: 20.31 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.2566, allocations: 16.31 kB / 414.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.2569, allocations: 181.9 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.2569, allocations: 0 / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.257, allocations: 12 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.257, allocations: 4 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.2573, allocations: 139.9 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2585, allocations: 0.7429 MB / 415.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.2589, allocations: 166.5 kB / 415.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.2591, allocations: 88.83 kB / 415.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.2591, allocations: 0 / 415.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.2591, allocations: 38.56 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.286e-06/0.2591, allocations: 3.984 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004582/0.2596, allocations: 181.8 kB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.2596, allocations: 59.34 kB / 416.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2598, allocations: 156.7 kB / 416.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2598, allocations: 29.7 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.2599, allocations: 140.1 kB / 416.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.2599, allocations: 39.36 kB / 416.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.26, allocations: 37.7 kB / 416.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2601, allocations: 322.8 kB / 416.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2602, allocations: 51.97 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2604, allocations: 67.92 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.2606, allocations: 125.6 kB / 417 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2606, allocations: 3.938 kB / 417 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003438/0.261, allocations: 180.5 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.261, allocations: 8 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.261, allocations: 0 / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.261, allocations: 3.938 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.2613, allocations: 47.94 kB / 417.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2613, allocations: 4 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2614, allocations: 15.84 kB / 417.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2614, allocations: 4 kB / 417.3 MB, free: 10.04 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.0001016/0.2615, allocations: 129.8 kB / 417.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.2616, allocations: 7.906 kB / 417.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.2616, allocations: 20.83 kB / 417.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2616, allocations: 3.938 kB / 417.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2616, allocations: 4 kB / 417.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.2617, allocations: 88.95 kB / 417.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.2617, allocations: 7.938 kB / 417.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2619, allocations: 11.98 kB / 417.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.2619, allocations: 15.92 kB / 417.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004929/0.2624, allocations: 248.3 kB / 417.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004703/0.2629, allocations: 366.6 kB / 418.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000133/0.2631, allocations: 63.94 kB / 418.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.279e-05/0.2631, allocations: 111.3 kB / 418.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of Backend: time 3.6e-07/0.2631, allocations: 4 kB / 418.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004811/0.2636, allocations: 158.3 kB / 418.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009563/0.2646, allocations: 0.9453 MB / 419.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of Templates: time 0.004442/0.269, allocations: 2.045 MB / 421.5 MB, free: 5.738 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