Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 113.2 kB / 17.07 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 194.8 kB / 18 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 55.86 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3476, allocations: 49.42 MB / 400.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004299/0.352, allocations: 2.813 MB / 403.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3533, allocations: 0.6154 MB / 404.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.3535, allocations: 4 kB / 404.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.3537, allocations: 51.5 kB / 404.2 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.354, allocations: 87.19 kB / 404.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3543, allocations: 75.89 kB / 404.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.3548, allocations: 354.9 kB / 404.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.3551, allocations: 139.4 kB / 404.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3553, allocations: 131.5 kB / 405 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.3556, allocations: 147.4 kB / 405.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.3556, allocations: 32 kB / 405.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.3557, allocations: 28 kB / 405.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.787e-05/0.3558, allocations: 71.7 kB / 405.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.356, allocations: 163.2 kB / 405.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.3565, allocations: 356.1 kB / 405.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.3566, allocations: 4 kB / 405.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3566, allocations: 0 / 405.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.3566, allocations: 0 / 405.8 MB, free: 3.957 MB / 318.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.00134/0.3579, allocations: 0.5926 MB / 406.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.358, allocations: 8.031 kB / 406.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/0.3581, allocations: 36.56 kB / 406.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.3588, allocations: 267.7 kB / 406.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.3588, allocations: 24.94 kB / 406.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.3589, allocations: 28.36 kB / 406.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.3594, allocations: 261.1 kB / 407 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3594, allocations: 0 / 407 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.3596, allocations: 12 kB / 407 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3596, allocations: 8 kB / 407 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.36, allocations: 190.1 kB / 407.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.3617, allocations: 0.9979 MB / 408.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.3623, allocations: 328.9 kB / 408.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.3626, allocations: 152.7 kB / 408.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3626, allocations: 0 / 408.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3626, allocations: 38.56 kB / 408.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.3626, allocations: 0 / 408.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001575/0.3642, allocations: 0.771 MB / 409.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.3643, allocations: 59.34 kB / 409.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.3645, allocations: 198.2 kB / 409.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.3646, allocations: 25.7 kB / 409.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3648, allocations: 176.2 kB / 409.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.365, allocations: 102.6 kB / 410 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.3651, allocations: 42 kB / 410.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.3654, allocations: 334.8 kB / 410.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3655, allocations: 68.53 kB / 410.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.3658, allocations: 111.6 kB / 410.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.3662, allocations: 186.4 kB / 410.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3662, allocations: 0 / 410.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005774/0.3668, allocations: 310.1 kB / 411 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3668, allocations: 12.03 kB / 411.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3668, allocations: 0 / 411.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.3671, allocations: 80.81 kB / 411.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3673, allocations: 47.91 kB / 411.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.3697, allocations: 2.096 MB / 413.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3699, allocations: 11.97 kB / 413.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3699, allocations: 8 kB / 413.3 MB, free: 11.95 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.0001727/0.3701, allocations: 138.1 kB / 413.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.3702, allocations: 23.7 kB / 413.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.3702, allocations: 29.95 kB / 413.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3702, allocations: 7.938 kB / 413.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3703, allocations: 4.062 kB / 413.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3703, allocations: 3.938 kB / 413.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.3715, allocations: 0.7448 MB / 414.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3715, allocations: 0 / 414.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.3717, allocations: 39.92 kB / 414.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.3719, allocations: 72.8 kB / 414.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3719, allocations: 8 kB / 414.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.3738, allocations: 1.979 MB / 416.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3738, allocations: 0 / 416.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.3745, allocations: 463.9 kB / 416.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.3746, allocations: 100.9 kB / 416.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.3747, allocations: 4.281 kB / 416.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.3748, allocations: 15.98 kB / 416.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.3749, allocations: 19.97 kB / 416.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.3749, allocations: 7.938 kB / 416.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.3751, allocations: 148.3 kB / 417.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3751, allocations: 0 / 417.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.3756, allocations: 80 kB / 417.2 MB, free: 7.828 MB / 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.0001388/0.3757, allocations: 111.1 kB / 417.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.3766, allocations: 366.6 kB / 417.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3766, allocations: 4 kB / 417.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.377, allocations: 254.9 kB / 417.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3774, allocations: 44.11 kB / 417.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3787, allocations: 0.7589 MB / 418.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3792, allocations: 0.7675 MB / 419.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.3793, allocations: 22.28 kB / 419.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.3793, allocations: 19.44 kB / 419.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3793, allocations: 0 / 419.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of Templates: time 0.007473/0.3868, allocations: 3.245 MB / 422.7 MB, free: 2.188 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches