Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001095, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001084/0.001084, allocations: 192.5 kB / 18.67 MB, free: 4.434 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 52.02 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3137, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004267/0.3181, allocations: 3.08 MB / 404.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3193, allocations: 0.7559 MB / 405.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.3195, allocations: 8 kB / 405.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3196, allocations: 55.42 kB / 405.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.3198, allocations: 111 kB / 405.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3202, allocations: 131.8 kB / 405.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.3207, allocations: 462.2 kB / 406 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.321, allocations: 134.9 kB / 406.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3212, allocations: 179.3 kB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3214, allocations: 183.2 kB / 406.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.3215, allocations: 44 kB / 406.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.3216, allocations: 44 kB / 406.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.3217, allocations: 95.62 kB / 406.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.3218, allocations: 187.2 kB / 406.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.3223, allocations: 495.5 kB / 407.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3223, allocations: 3.938 kB / 407.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3223, allocations: 4 kB / 407.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3223, allocations: 0 / 407.4 MB, free: 2.922 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.001341/0.3237, allocations: 0.7071 MB / 408.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3237, allocations: 11.89 kB / 408.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.3238, allocations: 44.45 kB / 408.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.3243, allocations: 310.7 kB / 408.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3243, allocations: 24.88 kB / 408.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.3244, allocations: 24.38 kB / 408.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.3251, allocations: 351.6 kB / 408.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3251, allocations: 0 / 408.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.3251, allocations: 19.97 kB / 408.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3251, allocations: 4 kB / 408.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007661/0.3259, allocations: 302 kB / 409.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.3279, allocations: 1.278 MB / 410.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.3285, allocations: 222.4 kB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.3289, allocations: 117 kB / 410.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3289, allocations: 4 kB / 410.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/0.3293, allocations: 200.5 kB / 410.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3293, allocations: 0 / 410.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002244/0.3316, allocations: 0.6859 MB / 411.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.3317, allocations: 110.8 kB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.332, allocations: 294.9 kB / 412 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.332, allocations: 29.7 kB / 412.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3322, allocations: 211.5 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.3322, allocations: 47.36 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.3323, allocations: 61.61 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3324, allocations: 338.8 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.3328, allocations: 111.9 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.3332, allocations: 212.5 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.3339, allocations: 323.7 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3339, allocations: 4 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001188/0.3351, allocations: 490.4 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.3351, allocations: 45.64 kB / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3352, allocations: 4 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.3355, allocations: 84.8 kB / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3358, allocations: 51.91 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.3383, allocations: 2.001 MB / 416 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.3386, allocations: 59.59 kB / 416.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.3387, allocations: 8 kB / 416.1 MB, free: 9.656 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.3388, allocations: 154.1 kB / 416.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.3389, allocations: 35.61 kB / 416.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.3389, allocations: 21.88 kB / 416.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3389, allocations: 7.938 kB / 416.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.339, allocations: 0 / 416.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.339, allocations: 3.984 kB / 416.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.3393, allocations: 341.4 kB / 416.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3393, allocations: 0 / 416.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.3395, allocations: 35.95 kB / 416.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.3398, allocations: 76.75 kB / 416.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3398, allocations: 7.984 kB / 416.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.342, allocations: 1.809 MB / 418.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.342, allocations: 3.938 kB / 418.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.3433, allocations: 0.4895 MB / 419 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-05/0.3434, allocations: 108.8 kB / 419.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3434, allocations: 11.94 kB / 419.2 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.3437, allocations: 23.97 kB / 419.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.3438, allocations: 27.97 kB / 419.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3438, allocations: 0 / 419.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.344, allocations: 214 kB / 419.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.344, allocations: 0 / 419.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.3444, allocations: 83.84 kB / 419.5 MB, free: 5.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.3445, allocations: 111.2 kB / 419.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009749/0.3455, allocations: 449.6 kB / 420 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3455, allocations: 0 / 420 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.346, allocations: 250.3 kB / 420.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3463, allocations: 52.98 kB / 420.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3476, allocations: 0.6129 MB / 421 MB, free: 4.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3479, allocations: 0.7678 MB / 421.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.348, allocations: 19.44 kB / 421.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.348, allocations: 0 / 421.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of Templates: time 0.008715/0.3568, allocations: 5.235 MB / 427 MB, free: 14.41 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches