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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001219/0.001219, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.398/1.398, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 48.27 kB / 300.7 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, allocations: 49.45 MB / 350.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005224/0.111, allocations: 3.073 MB / 353.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1125, allocations: 0.7715 MB / 354 MB, free: 432 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1127, allocations: 7.938 kB / 354 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.1129, allocations: 51.5 kB / 354.1 MB, free: 372 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1131, allocations: 119 kB / 354.2 MB, free: 252 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1134, allocations: 127.8 kB / 354.3 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.114, allocations: 454.2 kB / 354.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1143, allocations: 134.9 kB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.1145, allocations: 179.3 kB / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.1148, allocations: 191.2 kB / 355.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.1149, allocations: 44 kB / 355.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.115, allocations: 44 kB / 355.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/0.1151, allocations: 87.69 kB / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.1153, allocations: 191.1 kB / 355.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1157, allocations: 0.4908 MB / 356.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1157, allocations: 0 / 356.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1158, allocations: 0 / 356.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1158, allocations: 0 / 356.1 MB, free: 14.33 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.001493/0.1173, allocations: 0.7071 MB / 356.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1173, allocations: 8.031 kB / 356.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.126e-05/0.1174, allocations: 70.72 kB / 356.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.1175, allocations: 32.56 kB / 356.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.1179, allocations: 310.6 kB / 357.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.118, allocations: 28.92 kB / 357.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.118, allocations: 32.06 kB / 357.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008965/0.1189, allocations: 351.6 kB / 357.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.119, allocations: 0 / 357.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.119, allocations: 15.98 kB / 357.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.119, allocations: 7.938 kB / 357.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.1199, allocations: 302.1 kB / 357.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.1223, allocations: 1.278 MB / 359.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.1231, allocations: 231.5 kB / 359.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.1235, allocations: 116.8 kB / 359.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1235, allocations: 0 / 359.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.1241, allocations: 197.7 kB / 359.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 3.387e-06/0.1241, allocations: 3.984 kB / 359.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002728/0.1268, allocations: 0.6853 MB / 360.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.127, allocations: 106.8 kB / 360.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.1273, allocations: 294.9 kB / 360.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1274, allocations: 33.7 kB / 360.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1275, allocations: 207.5 kB / 361.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.1276, allocations: 47.3 kB / 361.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1277, allocations: 49.7 kB / 361.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1279, allocations: 342.8 kB / 361.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.1283, allocations: 115.9 kB / 361.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.1287, allocations: 208.9 kB / 361.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.1295, allocations: 323.7 kB / 362.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1295, allocations: 0 / 362.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001464/0.131, allocations: 495.5 kB / 362.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/0.1311, allocations: 33.7 kB / 362.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1311, allocations: 4 kB / 362.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.1316, allocations: 84.86 kB / 362.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.132, allocations: 55.91 kB / 362.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004516/0.1365, allocations: 2.001 MB / 364.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.1371, allocations: 55.59 kB / 364.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.1372, allocations: 16 kB / 364.9 MB, free: 4.992 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.0002524/0.1374, allocations: 150.1 kB / 365 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.1375, allocations: 31.64 kB / 365 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.1376, allocations: 33.75 kB / 365.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1377, allocations: 0 / 365.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1377, allocations: 0 / 365.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1377, allocations: 3.984 kB / 365.1 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.1382, allocations: 341.3 kB / 365.4 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1382, allocations: 48 / 365.4 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.1385, allocations: 35.94 kB / 365.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.139, allocations: 80.81 kB / 365.5 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1391, allocations: 11.92 kB / 365.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.1431, allocations: 1.805 MB / 367.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1431, allocations: 0 / 367.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.1457, allocations: 0.4935 MB / 367.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.1459, allocations: 100.8 kB / 367.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.146, allocations: 7.938 kB / 367.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.1465, allocations: 31.97 kB / 368 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.1466, allocations: 20.03 kB / 368 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.1467, allocations: 8 kB / 368 MB, free: 1.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003771/0.1471, allocations: 210 kB / 368.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1471, allocations: 0 / 368.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.1479, allocations: 87.75 kB / 368.3 MB, free: 1.32 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.003262/0.1512, allocations: 1.048 MB / 369.3 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1928/0.3439, allocations: 446.6 kB / 369.8 MB, free: 25.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.344, allocations: 0.9688 kB / 369.8 MB, free: 25.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.3446, allocations: 248.9 kB / 370 MB, free: 25.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.3452, allocations: 48.97 kB / 370.1 MB, free: 25.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.3509, allocations: 3.332 MB / 373.4 MB, free: 23.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3512, allocations: 0.7653 MB / 374.2 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3513, allocations: 33.39 kB / 374.2 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3515, allocations: 88.47 kB / 374.3 MB, free: 23.21 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3515, allocations: 0 / 374.3 MB, free: 23.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.3811, allocations: 7.231 MB / 381.5 MB, free: 21.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.11, allocations: 7.359 kB / 381.5 MB, free: 21.79 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > 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.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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches