Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 55.97 kB / 307.1 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08793, allocations: 50.54 MB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004777/0.09274, allocations: 3.081 MB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.09429, allocations: 0.8104 MB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.09457, allocations: 8 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.09482, allocations: 51.5 kB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.09513, allocations: 115 kB / 361.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.09555, allocations: 119.8 kB / 361.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.09616, allocations: 462.2 kB / 362.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.09648, allocations: 150.8 kB / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.09692, allocations: 175.4 kB / 362.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.0972, allocations: 191.2 kB / 362.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.09729, allocations: 47.98 kB / 362.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.09738, allocations: 44 kB / 362.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.09747, allocations: 87.69 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.09767, allocations: 191.1 kB / 363.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.09812, allocations: 494.7 kB / 363.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.09813, allocations: 0 / 363.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09814, allocations: 4 kB / 363.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.09817, allocations: 0 / 363.6 MB, free: 7.949 MB / 302.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.001369/0.09954, allocations: 0.7071 MB / 364.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.09959, allocations: 8.031 kB / 364.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/0.09966, allocations: 66.73 kB / 364.4 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.984e-05/0.09975, allocations: 36.5 kB / 364.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1001, allocations: 310.6 kB / 364.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1002, allocations: 20.94 kB / 364.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.1002, allocations: 32.12 kB / 364.8 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007912/0.101, allocations: 355.5 kB / 365.1 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.101, allocations: 0 / 365.1 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.1011, allocations: 12 kB / 365.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1011, allocations: 8 kB / 365.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/0.102, allocations: 302 kB / 365.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.1042, allocations: 1.282 MB / 366.7 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.105, allocations: 230.4 kB / 366.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.1053, allocations: 112.8 kB / 367 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1054, allocations: 0 / 367 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005457/0.1059, allocations: 201.7 kB / 367.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1059, allocations: 0 / 367.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002489/0.1084, allocations: 0.6785 MB / 367.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.1085, allocations: 106.8 kB / 368 MB, free: 3.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1088, allocations: 298.9 kB / 368.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1089, allocations: 29.7 kB / 368.3 MB, free: 2.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.109, allocations: 211.5 kB / 368.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.1091, allocations: 47.3 kB / 368.6 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.1092, allocations: 49.7 kB / 368.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1093, allocations: 350.7 kB / 369 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.1097, allocations: 111.9 kB / 369.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.1102, allocations: 207.9 kB / 369.3 MB, free: 1.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.111, allocations: 326.1 kB / 369.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.111, allocations: 0 / 369.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001328/0.1123, allocations: 495.5 kB / 370.1 MB, free: 1.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.1124, allocations: 33.7 kB / 370.1 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1124, allocations: 8.062 kB / 370.1 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.1128, allocations: 88.73 kB / 370.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.1131, allocations: 55.95 kB / 370.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/0.264, allocations: 1.985 MB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.2644, allocations: 60.84 kB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.2644, allocations: 10.94 kB / 372.3 MB, free: 18.89 MB / 302.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.0001499/0.2646, allocations: 166.3 kB / 372.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.2647, allocations: 24.48 kB / 372.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.2647, allocations: 25.53 kB / 372.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2647, allocations: 1.844 kB / 372.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2647, allocations: 2.438 kB / 372.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2647, allocations: 4.734 kB / 372.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.265, allocations: 341.8 kB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2651, allocations: 3 kB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.2653, allocations: 41.75 kB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/0.2656, allocations: 78.05 kB / 373 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2656, allocations: 2.25 kB / 373 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.2677, allocations: 1.816 MB / 374.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2677, allocations: 0.625 kB / 374.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.2692, allocations: 0.4885 MB / 375.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.2693, allocations: 109.3 kB / 375.4 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.2694, allocations: 6.547 kB / 375.4 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.2696, allocations: 30.19 kB / 375.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.2697, allocations: 21.05 kB / 375.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2698, allocations: 3.875 kB / 375.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.27, allocations: 212.1 kB / 375.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.714e-06/0.27, allocations: 1.031 kB / 375.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.2705, allocations: 88.62 kB / 375.8 MB, free: 16.98 MB / 302.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.00177/0.2723, allocations: 1.043 MB / 376.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.2733, allocations: 451.2 kB / 377.3 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2733, allocations: 1.219 kB / 377.3 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.2738, allocations: 240.4 kB / 377.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.2742, allocations: 61.28 kB / 377.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.2798, allocations: 3.339 MB / 380.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2801, allocations: 0.7652 MB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.2803, allocations: 27.3 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2805, allocations: 93.34 kB / 381.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 1.203e-06/0.2805, allocations: 0 / 381.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.3108, allocations: 7.244 MB / 389 MB, free: 11.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.45, allocations: 16.73 kB / 389 MB, free: 11.04 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches