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.001038/0.001038, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001087/0.001087, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 47.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3083, allocations: 49.44 MB / 400.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003872/0.3122, allocations: 2.863 MB / 403.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3134, allocations: 0.7167 MB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3135, allocations: 4 kB / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.3137, allocations: 51.5 kB / 403.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.3139, allocations: 91.25 kB / 404 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.3142, allocations: 123.7 kB / 404.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.3146, allocations: 386.5 kB / 404.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.3148, allocations: 123.2 kB / 404.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.315, allocations: 151.4 kB / 404.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3152, allocations: 171.3 kB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.3152, allocations: 36 kB / 405 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.3153, allocations: 40 kB / 405 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.3154, allocations: 75.7 kB / 405.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.3155, allocations: 167.2 kB / 405.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.3159, allocations: 428.2 kB / 405.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3159, allocations: 4 kB / 405.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3159, allocations: 0 / 405.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.316, 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.001196/0.3172, allocations: 0.6526 MB / 406.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3172, allocations: 12.03 kB / 406.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.3173, allocations: 58.72 kB / 406.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.3174, allocations: 40.56 kB / 406.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.3177, allocations: 284.7 kB / 406.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3177, allocations: 16.94 kB / 406.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.3178, allocations: 36.3 kB / 406.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.3185, allocations: 315.8 kB / 407.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3185, allocations: 0 / 407.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.3185, allocations: 12 kB / 407.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3185, allocations: 4 kB / 407.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.3193, allocations: 270.1 kB / 407.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.3212, allocations: 1.173 MB / 408.5 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.3221, allocations: 250.5 kB / 408.8 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.3224, allocations: 100.7 kB / 408.9 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3224, allocations: 4 kB / 408.9 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/0.3229, allocations: 165 kB / 409 MB, free: 15.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.3229, allocations: 3.938 kB / 409 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002086/0.325, allocations: 0.5966 MB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3251, allocations: 85.05 kB / 409.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3254, allocations: 270.5 kB / 410 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3254, allocations: 29.7 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3255, allocations: 191.6 kB / 410.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3256, allocations: 43.44 kB / 410.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.3256, allocations: 49.7 kB / 410.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3258, allocations: 330.8 kB / 410.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.3261, allocations: 108.1 kB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.3265, allocations: 192.2 kB / 410.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.3272, allocations: 307.7 kB / 411.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3273, allocations: 0 / 411.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001203/0.3285, allocations: 439.7 kB / 411.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.3285, allocations: 41.62 kB / 411.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3285, allocations: 4 kB / 411.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.3289, allocations: 60.89 kB / 411.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.3291, allocations: 59.89 kB / 411.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.3313, allocations: 1.631 MB / 413.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.3316, allocations: 51.81 kB / 413.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3316, allocations: 19.94 kB / 413.5 MB, free: 11.03 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.0001464/0.3318, allocations: 147.4 kB / 413.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3318, allocations: 27.78 kB / 413.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.3319, allocations: 21.72 kB / 413.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3319, allocations: 0 / 413.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3319, allocations: 4 kB / 413.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3319, allocations: 7.984 kB / 413.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.3322, allocations: 309.3 kB / 414 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3322, allocations: 0 / 414 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.3324, allocations: 31.97 kB / 414 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.3326, allocations: 68.75 kB / 414.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3326, allocations: 0 / 414.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.3346, allocations: 1.629 MB / 415.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.3346, allocations: 0 / 415.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3359, allocations: 441.9 kB / 416.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.336, allocations: 108.8 kB / 416.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.336, allocations: 0 / 416.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.3363, allocations: 35.97 kB / 416.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.3364, allocations: 19.97 kB / 416.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3364, allocations: 4 kB / 416.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3366, allocations: 190 kB / 416.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.532e-06/0.3366, allocations: 0 / 416.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.3369, allocations: 71.78 kB / 416.6 MB, free: 7.699 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.001665/0.3386, allocations: 0.9911 MB / 417.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009706/0.3396, allocations: 414.4 kB / 418 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3396, allocations: 0 / 418 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.34, allocations: 226.5 kB / 418.2 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3404, allocations: 44.59 kB / 418.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/0.3478, allocations: 3.39 MB / 421.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.3481, allocations: 0.7518 MB / 422.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.3482, allocations: 34.22 kB / 422.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3483, allocations: 79.41 kB / 422.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3483, allocations: 0 / 422.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.377, allocations: 6.29 MB / 428.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 3.938 kB / 428.8 MB, free: 11.4 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