Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.001412/0.001412, allocations: 111.7 kB / 17.06 MB, free: 6.016 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.001829/0.001829, allocations: 191 kB / 18 MB, free: 5.098 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2742, allocations: 49.44 MB / 400.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004415/0.2786, allocations: 2.854 MB / 403.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2802, allocations: 0.7245 MB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.2806, allocations: 4 kB / 403.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2809, allocations: 43.58 kB / 403.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.2813, allocations: 99.19 kB / 404 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.2817, allocations: 123.7 kB / 404.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.2822, allocations: 394.5 kB / 404.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.2825, allocations: 119.3 kB / 404.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.2828, allocations: 155.4 kB / 404.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.2831, allocations: 159.4 kB / 404.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.2832, allocations: 44 kB / 405 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.188e-05/0.2833, allocations: 36 kB / 405 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.2834, allocations: 75.7 kB / 405.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.2836, allocations: 167.2 kB / 405.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.2841, allocations: 433.3 kB / 405.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2841, allocations: 0 / 405.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.2841, allocations: 0 / 405.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.2841, allocations: 0 / 405.7 MB, free: 3.41 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001434/0.2855, allocations: 0.6602 MB / 406.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2856, allocations: 8.031 kB / 406.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.2857, allocations: 54.73 kB / 406.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.2858, allocations: 36.7 kB / 406.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.2862, allocations: 304.7 kB / 406.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2863, allocations: 20.94 kB / 406.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.2863, allocations: 24.38 kB / 406.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.2871, allocations: 311.8 kB / 407.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2871, allocations: 15.92 kB / 407.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2871, allocations: 12 kB / 407.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2872, allocations: 4 kB / 407.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.288, allocations: 270.1 kB / 407.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.29, allocations: 1.173 MB / 408.5 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.2909, allocations: 242.5 kB / 408.8 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.2913, allocations: 108.7 kB / 408.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2913, allocations: 4 kB / 408.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.2918, allocations: 169 kB / 409 MB, free: 15.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.2918, allocations: 0 / 409 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002099/0.2939, allocations: 0.6005 MB / 409.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.294, allocations: 77.11 kB / 409.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.2943, allocations: 270.6 kB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.2944, allocations: 25.7 kB / 410 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.2945, allocations: 195.9 kB / 410.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.2946, allocations: 47.67 kB / 410.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.2947, allocations: 53.66 kB / 410.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2948, allocations: 330.8 kB / 410.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.2952, allocations: 100.2 kB / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.2957, allocations: 188.2 kB / 410.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007877/0.2965, allocations: 311.7 kB / 411.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2965, allocations: 0 / 411.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001261/0.2978, allocations: 443.8 kB / 411.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.2978, allocations: 41.62 kB / 411.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2979, allocations: 4.062 kB / 411.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.2982, allocations: 68.75 kB / 411.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.2985, allocations: 51.97 kB / 411.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.3009, allocations: 1.636 MB / 413.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.3013, allocations: 51.73 kB / 413.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.3013, allocations: 19.94 kB / 413.5 MB, free: 11 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 (25): * Single equations (assignments): 23 * 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.0001765/0.3015, allocations: 137.8 kB / 413.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.3016, allocations: 27.92 kB / 413.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.3017, allocations: 21.72 kB / 413.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3017, allocations: 11.92 kB / 413.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3017, allocations: 4 kB / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3017, allocations: 0 / 413.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.302, allocations: 313.4 kB / 414 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.302, allocations: 3.938 kB / 414 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.3022, allocations: 35.97 kB / 414.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.3025, allocations: 60.81 kB / 414.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.3025, allocations: 4 kB / 414.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.3047, allocations: 1.632 MB / 415.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3047, allocations: 0 / 415.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.3061, allocations: 449.6 kB / 416.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3062, allocations: 101 kB / 416.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.3063, allocations: 8.062 kB / 416.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3065, allocations: 27.97 kB / 416.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3066, allocations: 19.97 kB / 416.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3066, allocations: 0 / 416.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.3068, allocations: 193.9 kB / 416.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3069, allocations: 4 kB / 416.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.3072, allocations: 63.89 kB / 416.6 MB, free: 7.672 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.309, allocations: 0.9904 MB / 417.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.31, allocations: 410.6 kB / 418 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.31, allocations: 0 / 418 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.3105, allocations: 223 kB / 418.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3108, allocations: 50.39 kB / 418.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/0.3187, allocations: 3.397 MB / 421.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3191, allocations: 0.7518 MB / 422.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.3192, allocations: 30.27 kB / 422.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3194, allocations: 75.41 kB / 422.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3194, allocations: 0 / 422.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3511, allocations: 6.294 MB / 428.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.35, allocations: 6.953 kB / 428.8 MB, free: 11.37 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_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_Integrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches