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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 110.3 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008167/0.0008172, allocations: 39.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2975, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00366/0.3012, allocations: 3.105 MB / 402.6 MB, free: 30.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3023, allocations: 0.7634 MB / 403.4 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3025, allocations: 4 kB / 403.4 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.3027, allocations: 39.69 kB / 403.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.3029, allocations: 99.3 kB / 403.5 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.3032, allocations: 115.8 kB / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.3035, allocations: 426.3 kB / 404 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.3038, allocations: 119.6 kB / 404.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.304, allocations: 167.2 kB / 404.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3042, allocations: 179.2 kB / 404.5 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.3042, allocations: 24 kB / 404.5 MB, free: 28.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.3043, allocations: 24 kB / 404.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.3043, allocations: 71.62 kB / 404.6 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3045, allocations: 171.1 kB / 404.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.3048, allocations: 487.8 kB / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3048, allocations: 0 / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3049, allocations: 0 / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.3049, allocations: 0 / 405.2 MB, free: 27.59 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001442/0.3063, allocations: 0.707 MB / 406 MB, free: 26.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3064, allocations: 12.03 kB / 406 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.3065, allocations: 40.47 kB / 406 MB, free: 26.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3068, allocations: 310.7 kB / 406.3 MB, free: 26.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3069, allocations: 20.94 kB / 406.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.3069, allocations: 28.31 kB / 406.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.3076, allocations: 363.5 kB / 406.7 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3076, allocations: 0 / 406.7 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3076, allocations: 12 kB / 406.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3076, allocations: 8 kB / 406.7 MB, free: 26.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.3083, allocations: 306 kB / 407 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.3102, allocations: 1.264 MB / 408.3 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.3109, allocations: 336.2 kB / 408.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.3112, allocations: 140.8 kB / 408.8 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3113, allocations: 4 kB / 408.8 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005085/0.3118, allocations: 201.7 kB / 409 MB, free: 23.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3118, allocations: 0 / 409 MB, free: 23.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001989/0.3138, allocations: 0.6394 MB / 409.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3139, allocations: 106.8 kB / 409.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.3141, allocations: 295.2 kB / 410 MB, free: 22.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3142, allocations: 25.7 kB / 410 MB, free: 22.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3143, allocations: 211.9 kB / 410.2 MB, free: 22.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3143, allocations: 55.25 kB / 410.3 MB, free: 22.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3144, allocations: 61.7 kB / 410.3 MB, free: 22.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.3145, allocations: 342.8 kB / 410.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.3148, allocations: 112.2 kB / 410.8 MB, free: 21.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.3152, allocations: 217.3 kB / 411 MB, free: 21.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.3158, allocations: 335.7 kB / 411.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3158, allocations: 8 kB / 411.3 MB, free: 21.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001089/0.3169, allocations: 485.9 kB / 411.8 MB, free: 20.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.317, allocations: 36.42 kB / 411.8 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.317, allocations: 7.984 kB / 411.8 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.3174, allocations: 64.81 kB / 411.9 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3176, allocations: 67.89 kB / 412 MB, free: 20.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.3193, allocations: 1.526 MB / 413.5 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.3197, allocations: 51.81 kB / 413.6 MB, free: 18.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.3197, allocations: 16 kB / 413.6 MB, free: 18.71 MB / 298.7 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.0001454/0.3199, allocations: 156.5 kB / 413.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3199, allocations: 27.7 kB / 413.7 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.32, allocations: 34.16 kB / 413.8 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.32, allocations: 8 kB / 413.8 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.32, allocations: 7.922 kB / 413.8 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.32, allocations: 0 / 413.8 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.3215, allocations: 0.7886 MB / 414.6 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3215, allocations: 8.016 kB / 414.6 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.3217, allocations: 47.95 kB / 414.6 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.322, allocations: 52.83 kB / 414.7 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.322, allocations: 11.92 kB / 414.7 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.3236, allocations: 1.507 MB / 416.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3236, allocations: 0 / 416.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007051/0.3306, allocations: 4.14 MB / 420.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.3307, allocations: 112.7 kB / 420.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.3308, allocations: 4 kB / 420.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.331, allocations: 40.11 kB / 420.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3311, allocations: 19.97 kB / 420.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3312, allocations: 4 kB / 420.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3314, allocations: 210 kB / 420.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3314, allocations: 0 / 420.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005028/0.3319, allocations: 107.8 kB / 420.8 MB, free: 10.93 MB / 298.7 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.0001682/0.3321, allocations: 119.1 kB / 421 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000953/0.333, allocations: 442 kB / 421.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.333, allocations: 0 / 421.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.3335, allocations: 238.6 kB / 421.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.334, allocations: 53.36 kB / 421.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.3369, allocations: 1.236 MB / 422.9 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3371, allocations: 0.7678 MB / 423.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.3373, allocations: 34.95 kB / 423.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.3373, allocations: 23.44 kB / 423.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3374, allocations: 0 / 423.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of Templates: time 0.008206/0.3456, allocations: 4.794 MB / 428.5 MB, free: 3.148 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches