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.002341/0.002341, allocations: 113.7 kB / 18.45 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.003065/0.003065, allocations: 208.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.705/2.705, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5758, allocations: 50.55 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.006759/0.5826, allocations: 2.148 MB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.5846, allocations: 0.5688 MB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.585, allocations: 11.94 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.5854, allocations: 27.7 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.5857, allocations: 55.5 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.5861, allocations: 51.92 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.5867, allocations: 235 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.5871, allocations: 77.66 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.5874, allocations: 95.62 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.5877, allocations: 95.61 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.5877, allocations: 20 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.5878, allocations: 24 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.5879, allocations: 39.91 kB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.5881, allocations: 103.5 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.5886, allocations: 232.3 kB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.5886, allocations: 8 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5886, allocations: 0 / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.5886, allocations: 0 / 413.7 MB, free: 13.82 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.001246/0.5899, allocations: 0.491 MB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.5899, allocations: 8.031 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.5901, allocations: 24.66 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.5906, allocations: 212.1 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.5907, allocations: 16.38 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.5908, allocations: 24.31 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.5913, allocations: 185.8 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.5914, allocations: 0 / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.5914, allocations: 8 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.5914, allocations: 4 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.5919, allocations: 139.9 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5938, allocations: 0.7429 MB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.5944, allocations: 154.6 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.5947, allocations: 100.7 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5947, allocations: 0 / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.5948, allocations: 30.56 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.5948, allocations: 4 kB / 415.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006817/0.5955, allocations: 185.8 kB / 416 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.5955, allocations: 55.34 kB / 416.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.5957, allocations: 157.3 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.5958, allocations: 29.7 kB / 416.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5959, allocations: 140.1 kB / 416.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.596, allocations: 39.36 kB / 416.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.5961, allocations: 37.72 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5962, allocations: 318.8 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.5964, allocations: 55.91 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.5966, allocations: 76.08 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.597, allocations: 128.4 kB / 417 MB, free: 10.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.597, allocations: 3.938 kB / 417 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005112/0.5975, allocations: 173.4 kB / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.5976, allocations: 4 kB / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5976, allocations: 0 / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.5976, allocations: 7.938 kB / 417.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.598, allocations: 39.97 kB / 417.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.598, allocations: 3.938 kB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.5982, allocations: 27.86 kB / 417.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.5982, allocations: 4 kB / 417.3 MB, free: 9.992 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.0001601/0.5984, allocations: 125.8 kB / 417.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.5984, allocations: 11.91 kB / 417.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.5985, allocations: 20.78 kB / 417.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5985, allocations: 0 / 417.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5985, allocations: 4 kB / 417.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5985, allocations: 3.984 kB / 417.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.5989, allocations: 269.4 kB / 417.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5989, allocations: 3.984 kB / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.5992, allocations: 39.92 kB / 417.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5992, allocations: 0 / 417.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.5992, allocations: 3.938 kB / 417.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5992, allocations: 0 / 417.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5992, allocations: 0 / 417.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.5998, allocations: 307 kB / 418.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.5999, allocations: 89.02 kB / 418.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.5999, allocations: 11.92 kB / 418.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.6001, allocations: 16.03 kB / 418.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.6002, allocations: 7.984 kB / 418.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.6002, allocations: 3.938 kB / 418.2 MB, free: 9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.6003, allocations: 115.2 kB / 418.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6003, allocations: 4 kB / 418.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.6006, allocations: 47.84 kB / 418.4 MB, free: 8.836 MB / 334.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.0001524/0.6008, allocations: 103.2 kB / 418.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.6012, allocations: 126.2 kB / 418.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6012, allocations: 7.938 kB / 418.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.6013, allocations: 56.05 kB / 418.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.6017, allocations: 31.91 kB / 418.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.6029, allocations: 0.5467 MB / 419.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.6033, allocations: 0.724 MB / 419.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.6034, allocations: 15.44 kB / 420 MB, free: 7.168 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.6034, allocations: 0 / 420 MB, free: 7.168 MB / 334.1 MB Notification: Performance of Templates: time 0.006142/0.6095, allocations: 2.044 MB / 422 MB, free: 5.133 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.v,C2.v,L.i,time