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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 186.5 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.508/1.508, allocations: 222.9 MB / 240.9 MB, free: 10.97 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.001132/0.001132, allocations: 103.5 kB / 291.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 47.94 kB / 350 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3406, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003963/0.3446, allocations: 3.109 MB / 402.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3458, allocations: 0.7645 MB / 403.4 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.346, allocations: 8 kB / 403.4 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.3462, allocations: 39.67 kB / 403.4 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.3464, allocations: 99.05 kB / 403.5 MB, free: 29.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3467, allocations: 111.8 kB / 403.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.347, allocations: 430.1 kB / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.3473, allocations: 115.5 kB / 404.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3475, allocations: 159.3 kB / 404.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.3477, allocations: 183.2 kB / 404.5 MB, free: 28.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.3477, allocations: 24 kB / 404.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.3478, allocations: 24 kB / 404.5 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.3478, allocations: 71.62 kB / 404.6 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.348, allocations: 163.2 kB / 404.7 MB, free: 28.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3484, allocations: 483.8 kB / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3484, allocations: 0 / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3485, allocations: 0 / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3485, 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.001445/0.3499, allocations: 0.711 MB / 405.9 MB, free: 26.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.35, allocations: 8.031 kB / 405.9 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3501, allocations: 36.56 kB / 406 MB, free: 26.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.3506, allocations: 318.6 kB / 406.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.3507, allocations: 20.94 kB / 406.3 MB, free: 26.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.3508, allocations: 24.38 kB / 406.3 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/0.3516, allocations: 347.6 kB / 406.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3517, allocations: 0 / 406.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.3517, allocations: 12 kB / 406.7 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3517, allocations: 11.98 kB / 406.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.3526, allocations: 302 kB / 407 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.3546, allocations: 1.282 MB / 408.3 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.3553, allocations: 226.4 kB / 408.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.3556, allocations: 124.8 kB / 408.6 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.3556, allocations: 4 kB / 408.6 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005707/0.3562, allocations: 185.7 kB / 408.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.3562, allocations: 4 kB / 408.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002317/0.3585, allocations: 0.6857 MB / 409.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3586, allocations: 110.8 kB / 409.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.3589, allocations: 295 kB / 409.9 MB, free: 22.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3589, allocations: 33.7 kB / 409.9 MB, free: 22.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.359, allocations: 203.5 kB / 410.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3591, allocations: 51.27 kB / 410.2 MB, free: 22.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.3592, allocations: 57.7 kB / 410.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.3592, allocations: 334.8 kB / 410.6 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.3596, allocations: 119.9 kB / 410.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.36, allocations: 203.9 kB / 410.9 MB, free: 21.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.3607, allocations: 327 kB / 411.2 MB, free: 21.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3607, allocations: 0 / 411.2 MB, free: 21.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001148/0.3618, allocations: 487.6 kB / 411.7 MB, free: 20.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.3619, allocations: 43.34 kB / 411.7 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3619, allocations: 7.938 kB / 411.7 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.3623, allocations: 88.86 kB / 411.8 MB, free: 20.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3626, allocations: 55.89 kB / 411.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.3647, allocations: 1.803 MB / 413.7 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.3651, allocations: 59.66 kB / 413.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3651, allocations: 23.92 kB / 413.7 MB, free: 18.52 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 (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.0001652/0.3653, allocations: 149.7 kB / 413.9 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3653, allocations: 27.72 kB / 413.9 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.3654, allocations: 25.86 kB / 413.9 MB, free: 18.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3654, allocations: 4 kB / 413.9 MB, free: 18.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3654, allocations: 0 / 413.9 MB, free: 18.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.3654, allocations: 3.938 kB / 413.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3657, allocations: 337.4 kB / 414.3 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3657, allocations: 4 kB / 414.3 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3659, allocations: 31.97 kB / 414.3 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.3662, allocations: 84.73 kB / 414.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3662, allocations: 128 / 414.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.368, allocations: 1.687 MB / 416.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.368, allocations: 0 / 416.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007893/0.3759, allocations: 4.329 MB / 420.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.376, allocations: 108.8 kB / 420.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.3761, allocations: 4 kB / 420.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3763, allocations: 32.09 kB / 420.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3764, allocations: 27.91 kB / 420.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3765, allocations: 3.984 kB / 420.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.3767, allocations: 214 kB / 420.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3767, allocations: 0 / 420.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.3772, allocations: 119.8 kB / 420.9 MB, free: 10.85 MB / 298.7 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.0001808/0.3774, allocations: 103.7 kB / 421 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3785, allocations: 446.4 kB / 421.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3785, allocations: 4.062 kB / 421.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.3789, allocations: 238.6 kB / 421.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3793, allocations: 55.06 kB / 421.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3807, allocations: 0.9942 MB / 422.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.3809, allocations: 0.768 MB / 423.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3811, allocations: 26.97 kB / 423.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.3812, allocations: 23.44 kB / 423.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3812, allocations: 0 / 423.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of Templates: time 0.008709/0.3899, allocations: 5.032 MB / 428.6 MB, free: 3.086 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches