Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 108.5 kB / 17.06 MB, free: 6.023 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.001348/0.001348, allocations: 192 kB / 18 MB, free: 5.105 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.568/1.568, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 51.91 kB / 351.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3787, allocations: 49.43 MB / 400.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.0058/0.3846, allocations: 3.076 MB / 403.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3864, allocations: 0.7676 MB / 404.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.3867, allocations: 4 kB / 404.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.3869, allocations: 55.44 kB / 404.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.3872, allocations: 111.1 kB / 404.8 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.3876, allocations: 131.8 kB / 404.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.3881, allocations: 470.2 kB / 405.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.3884, allocations: 134.9 kB / 405.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.3887, allocations: 179.3 kB / 405.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.389, allocations: 191.2 kB / 405.8 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.3891, allocations: 44 kB / 405.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.3891, allocations: 44 kB / 405.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.3892, allocations: 83.7 kB / 406 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.3894, allocations: 203 kB / 406.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.3899, allocations: 499.4 kB / 406.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.39, allocations: 4 kB / 406.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.39, allocations: 0 / 406.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.39, allocations: 0 / 406.7 MB, free: 2.867 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001504/0.3915, allocations: 0.7071 MB / 407.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.3916, allocations: 11.89 kB / 407.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3917, allocations: 40.47 kB / 407.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.3922, allocations: 314.6 kB / 407.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.3923, allocations: 20.94 kB / 407.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.3924, allocations: 36.31 kB / 407.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.3932, allocations: 347.5 kB / 408.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3932, allocations: 4 kB / 408.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.3932, allocations: 12 kB / 408.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3932, allocations: 8 kB / 408.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.3941, allocations: 302 kB / 408.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.3966, allocations: 1.268 MB / 409.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008882/0.3975, allocations: 339.5 kB / 410.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.398, allocations: 140.8 kB / 410.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.398, allocations: 0 / 410.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005433/0.3985, allocations: 201.8 kB / 410.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.3986, allocations: 0 / 410.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002429/0.401, allocations: 0.638 MB / 411.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.4011, allocations: 118.7 kB / 411.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.4015, allocations: 295.2 kB / 411.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.4016, allocations: 25.7 kB / 411.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.4017, allocations: 207.9 kB / 411.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.4018, allocations: 59.23 kB / 411.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4019, allocations: 57.61 kB / 411.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4021, allocations: 342.8 kB / 412.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.4025, allocations: 120.1 kB / 412.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.403, allocations: 213.3 kB / 412.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.4037, allocations: 337 kB / 412.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.4038, allocations: 4 kB / 412.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001305/0.4051, allocations: 481.9 kB / 413.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.4051, allocations: 37.7 kB / 413.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4051, allocations: 0 / 413.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.4055, allocations: 72.86 kB / 413.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.4058, allocations: 63.89 kB / 413.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.4082, allocations: 1.643 MB / 415.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.4086, allocations: 55.81 kB / 415.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.4087, allocations: 12 kB / 415.1 MB, free: 9.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.4089, allocations: 161.5 kB / 415.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.4089, allocations: 27.66 kB / 415.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.409, allocations: 30.14 kB / 415.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.409, allocations: 4 kB / 415.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.409, allocations: 4 kB / 415.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.409, allocations: 0 / 415.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.4107, allocations: 0.7925 MB / 416.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4107, allocations: 0 / 416.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.411, allocations: 55.97 kB / 416.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.4112, allocations: 64.81 kB / 416.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.4113, allocations: 0 / 416.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.4133, allocations: 1.629 MB / 417.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4134, allocations: 0 / 417.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.4149, allocations: 0.5695 MB / 418.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.415, allocations: 100.8 kB / 418.6 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.415, allocations: 7.984 kB / 418.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4153, allocations: 31.97 kB / 418.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.4154, allocations: 24.03 kB / 418.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4155, allocations: 4 kB / 418.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.4157, allocations: 214 kB / 418.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4157, allocations: 0 / 418.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004428/0.4162, allocations: 79.75 kB / 418.9 MB, free: 5.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001785/0.4164, allocations: 115.1 kB / 419 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.4175, allocations: 449.7 kB / 419.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4175, allocations: 0.6875 kB / 419.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.418, allocations: 246.5 kB / 419.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.4185, allocations: 59.47 kB / 419.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.4214, allocations: 0.838 MB / 420.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.4218, allocations: 0.7677 MB / 421.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.422, allocations: 34.95 kB / 421.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.422, allocations: 23.44 kB / 421.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4221, allocations: 0 / 421.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Templates: time 0.009754/0.4318, allocations: 4.321 MB / 425.8 MB, free: 14.93 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches