Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009669/0.000967, allocations: 95.53 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 8 kB / 360.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001858/0.2785, allocations: 1.786 MB / 413.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.2794, allocations: 0.6843 MB / 414.5 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.2795, allocations: 4 kB / 414.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.2796, allocations: 31.77 kB / 414.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.2797, allocations: 44.11 kB / 414.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.2798, allocations: 49.02 kB / 414.6 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.28, allocations: 220.1 kB / 414.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2802, allocations: 75.56 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.2803, allocations: 71.72 kB / 415 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2804, allocations: 91.59 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2804, allocations: 12 kB / 415.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.2805, allocations: 8 kB / 415.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.2805, allocations: 43.78 kB / 415.2 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.2806, allocations: 113.3 kB / 415.3 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2807, allocations: 212.7 kB / 415.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2808, allocations: 0 / 415.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2808, allocations: 0 / 415.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2808, allocations: 3.938 kB / 415.5 MB, free: 22.41 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.0005818/0.2814, allocations: 470.9 kB / 415.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2814, allocations: 8.031 kB / 416 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.2815, allocations: 20.75 kB / 416 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.2817, allocations: 227.9 kB / 416.2 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2817, allocations: 12.38 kB / 416.2 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.2817, allocations: 20.28 kB / 416.2 MB, free: 21.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.282, allocations: 193.8 kB / 416.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2821, allocations: 0 / 416.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.2821, allocations: 8 kB / 416.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2821, allocations: 4 kB / 416.4 MB, free: 21.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.2824, allocations: 147.9 kB / 416.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009784/0.2834, allocations: 0.7546 MB / 417.3 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.2837, allocations: 170.5 kB / 417.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2839, allocations: 100.8 kB / 417.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2839, allocations: 0 / 417.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2839, allocations: 38.56 kB / 417.6 MB, free: 20.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2839, allocations: 0 / 417.6 MB, free: 20.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000404/0.2843, allocations: 197.7 kB / 417.8 MB, free: 19.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.2844, allocations: 55.34 kB / 417.9 MB, free: 19.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2845, allocations: 160.4 kB / 418 MB, free: 19.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2845, allocations: 25.7 kB / 418.1 MB, free: 19.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.2846, allocations: 132.2 kB / 418.2 MB, free: 19.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.2846, allocations: 51.27 kB / 418.2 MB, free: 19.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.2846, allocations: 0 / 418.2 MB, free: 19.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.2847, allocations: 330.8 kB / 418.6 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2848, allocations: 51.97 kB / 418.6 MB, free: 19.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2849, allocations: 75 kB / 418.7 MB, free: 18.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.2851, allocations: 134.9 kB / 418.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2851, allocations: 0 / 418.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002617/0.2854, allocations: 189.3 kB / 419 MB, free: 18.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2854, allocations: 4 kB / 419 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2854, allocations: 4 kB / 419 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2854, allocations: 3.938 kB / 419 MB, free: 18.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.2856, allocations: 43.97 kB / 419.1 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2856, allocations: 4 kB / 419.1 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.224e-05/0.2857, allocations: 15.84 kB / 419.1 MB, free: 18.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.2858, allocations: 8 kB / 419.1 MB, free: 18.56 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 7.634e-05/0.2858, allocations: 129.7 kB / 419.2 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.2859, allocations: 11.91 kB / 419.2 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.2859, allocations: 32.7 kB / 419.3 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2859, allocations: 0 / 419.3 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2859, allocations: 0 / 419.3 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2859, allocations: 0 / 419.3 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.2862, allocations: 265.4 kB / 419.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2862, allocations: 0 / 419.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2864, allocations: 47.97 kB / 419.6 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2864, allocations: 4 kB / 419.6 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2864, allocations: 7.938 kB / 419.6 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2864, allocations: 0 / 419.6 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2864, allocations: 0 / 419.6 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.2868, allocations: 315.7 kB / 419.9 MB, free: 17.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.2868, allocations: 89.05 kB / 420 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.2869, allocations: 11.94 kB / 420 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.287, allocations: 8 kB / 420 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2871, allocations: 11.98 kB / 420 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2871, allocations: 8 kB / 420 MB, free: 17.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.2872, allocations: 117.5 kB / 420.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2872, allocations: 0 / 420.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.2874, allocations: 47.84 kB / 420.2 MB, free: 17.38 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.0001131/0.2875, allocations: 111.1 kB / 420.3 MB, free: 17.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.2878, allocations: 127.9 kB / 420.4 MB, free: 17.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2878, allocations: 0 / 420.4 MB, free: 17.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2879, allocations: 67.91 kB / 420.5 MB, free: 17.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2882, allocations: 27.97 kB / 420.5 MB, free: 17.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.2891, allocations: 0.65 MB / 421.1 MB, free: 16.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2892, allocations: 0.7204 MB / 421.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.618e-05/0.2893, allocations: 17.42 kB / 421.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.2893, allocations: 15.44 kB / 421.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2893, allocations: 0 / 421.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Templates: time 0.00348/0.2928, allocations: 1.502 MB / 423.4 MB, free: 14.09 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../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