Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 117.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3841, allocations: 50.55 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.006312/0.3905, allocations: 2.819 MB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3927, allocations: 0.6466 MB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.393, allocations: 4 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.3934, allocations: 55.5 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.3937, allocations: 87.19 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.394, allocations: 71.91 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.3945, allocations: 350.9 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.3948, allocations: 143.3 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.395, allocations: 131.5 kB / 413.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.3953, allocations: 151.4 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.3954, allocations: 32 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.3954, allocations: 28 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.3955, allocations: 71.7 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.3957, allocations: 171.2 kB / 414 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.3962, allocations: 359.9 kB / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3962, allocations: 0 / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3962, allocations: 0 / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3962, allocations: 0 / 414.4 MB, free: 12.48 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00109/0.3973, allocations: 0.5848 MB / 414.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.3974, allocations: 8.031 kB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3975, allocations: 44.55 kB / 415 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.398, allocations: 263.7 kB / 415.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.398, allocations: 20.94 kB / 415.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.3981, allocations: 28.36 kB / 415.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.3986, allocations: 261.2 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3986, allocations: 0 / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.3987, allocations: 8 kB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3987, allocations: 8 kB / 415.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.3991, allocations: 194.1 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.4008, allocations: 1.002 MB / 416.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.4013, allocations: 324.9 kB / 417.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.4016, allocations: 148.8 kB / 417.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4016, allocations: 3.938 kB / 417.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.4016, allocations: 38.56 kB / 417.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.4016, allocations: 0 / 417.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001655/0.4033, allocations: 0.7746 MB / 418 MB, free: 8.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4034, allocations: 59.39 kB / 418.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4036, allocations: 195.1 kB / 418.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4036, allocations: 25.7 kB / 418.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4037, allocations: 168.3 kB / 418.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.4038, allocations: 102.6 kB / 418.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.4039, allocations: 45.98 kB / 418.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4041, allocations: 330.8 kB / 418.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.4042, allocations: 68.53 kB / 419 MB, free: 7.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.4044, allocations: 108.1 kB / 419.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.4047, allocations: 190.1 kB / 419.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4047, allocations: 0 / 419.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005397/0.4052, allocations: 314 kB / 419.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4052, allocations: 11.98 kB / 419.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4053, allocations: 0 / 419.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.4056, allocations: 88.78 kB / 419.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4058, allocations: 43.92 kB / 419.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.408, allocations: 2.076 MB / 421.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4081, allocations: 11.97 kB / 421.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.4081, allocations: 12 kB / 421.8 MB, free: 4.492 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.4083, allocations: 145.8 kB / 422 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.4084, allocations: 19.72 kB / 422 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.4084, allocations: 33.84 kB / 422 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4085, allocations: 4 kB / 422 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.4085, allocations: 0 / 422 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4085, allocations: 3.938 kB / 422.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4097, allocations: 0.7488 MB / 422.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4097, allocations: 0 / 422.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.41, allocations: 43.91 kB / 422.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.4102, allocations: 72.8 kB / 422.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.4102, allocations: 8 kB / 422.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.4124, allocations: 1.979 MB / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4124, allocations: 0 / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.4131, allocations: 460.3 kB / 425.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.4132, allocations: 100.9 kB / 425.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4132, allocations: 4 kB / 425.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4133, allocations: 11.98 kB / 425.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.4134, allocations: 19.97 kB / 425.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.4134, allocations: 4 kB / 425.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.4136, allocations: 148.4 kB / 425.6 MB, free: 468 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4136, allocations: 0 / 425.6 MB, free: 468 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004137/0.414, allocations: 80 kB / 425.7 MB, free: 388 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.4142, allocations: 103.2 kB / 425.8 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.4152, allocations: 382.8 kB / 426.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4152, allocations: 0 / 426.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.4156, allocations: 262.5 kB / 426.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.416, allocations: 46.88 kB / 426.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4174, allocations: 0.7699 MB / 427.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.4181, allocations: 0.7675 MB / 428 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.408e-05/0.4182, allocations: 22.28 kB / 428 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.4183, allocations: 19.44 kB / 428.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4183, allocations: 0 / 428.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Templates: time 0.007835/0.4261, allocations: 3.256 MB / 431.3 MB, free: 10.71 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches