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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 47.92 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2864, allocations: 52.18 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005039/0.2914, allocations: 2.895 MB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2929, allocations: 0.7361 MB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2931, allocations: 4 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.2932, allocations: 47.56 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2934, allocations: 103.2 kB / 426.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2937, allocations: 115.8 kB / 426.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.2942, allocations: 390.5 kB / 426.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.2944, allocations: 87.69 kB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.2947, allocations: 159.4 kB / 427.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2949, allocations: 163.3 kB / 427.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.295, allocations: 36 kB / 427.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.295, allocations: 44 kB / 427.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.2951, allocations: 79.69 kB / 427.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.2953, allocations: 159.3 kB / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.2958, allocations: 430.7 kB / 428.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2958, allocations: 4 kB / 428.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2958, allocations: 0 / 428.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2958, allocations: 3.938 kB / 428.1 MB, free: 9.164 MB / 334.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.001269/0.2971, allocations: 0.5849 MB / 428.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2971, allocations: 8.031 kB / 428.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.924e-05/0.2972, allocations: 58.73 kB / 428.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.2972, allocations: 36.7 kB / 428.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.2976, allocations: 235 kB / 429 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2977, allocations: 16.88 kB / 429 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.2977, allocations: 28.38 kB / 429 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.2984, allocations: 314.8 kB / 429.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2984, allocations: 0 / 429.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.2985, allocations: 15.94 kB / 429.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2985, allocations: 11.98 kB / 429.4 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.2993, allocations: 269.8 kB / 429.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.3013, allocations: 1.123 MB / 430.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.3022, allocations: 238.5 kB / 431 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.3025, allocations: 100.8 kB / 431.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3026, allocations: 3.938 kB / 431.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.303, allocations: 165 kB / 431.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.303, allocations: 4 kB / 431.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002001/0.305, allocations: 0.5251 MB / 431.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.3051, allocations: 81.11 kB / 431.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.3054, allocations: 261.9 kB / 432.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.3055, allocations: 33.7 kB / 432.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3056, allocations: 204 kB / 432.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.3057, allocations: 35.69 kB / 432.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.3057, allocations: 53.66 kB / 432.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3059, allocations: 334.8 kB / 432.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.3063, allocations: 104.1 kB / 432.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3067, allocations: 197.4 kB / 433.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.3074, allocations: 299.7 kB / 433.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3074, allocations: 0 / 433.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001231/0.3087, allocations: 447.3 kB / 433.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.3087, allocations: 37.64 kB / 433.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3087, allocations: 4 kB / 433.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.309, allocations: 68.86 kB / 433.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3093, allocations: 59.89 kB / 433.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.3117, allocations: 1.521 MB / 435.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.312, allocations: 47.8 kB / 435.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.3121, allocations: 19.92 kB / 435.5 MB, free: 1.219 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.0001764/0.3122, allocations: 145.7 kB / 435.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.3123, allocations: 23.86 kB / 435.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.3123, allocations: 29.7 kB / 435.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3123, allocations: 4 kB / 435.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.3123, allocations: 0 / 435.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3123, allocations: 3.938 kB / 435.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.3126, allocations: 288.4 kB / 436 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3126, allocations: 0 / 436 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.3128, allocations: 35.97 kB / 436.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.3131, allocations: 64.8 kB / 436.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3131, allocations: 7.922 kB / 436.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.3152, allocations: 1.526 MB / 437.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3152, allocations: 0 / 437.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3166, allocations: 449.6 kB / 438.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.3166, allocations: 27.88 kB / 438.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.3167, allocations: 4 kB / 438.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.3169, allocations: 36.02 kB / 438.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.317, allocations: 15.98 kB / 438.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.317, allocations: 3.984 kB / 438.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.3172, allocations: 189.2 kB / 438.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3172, allocations: 0 / 438.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.3176, allocations: 67.89 kB / 438.4 MB, free: 14.13 MB / 350.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.001797/0.3194, allocations: 0.9839 MB / 439.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3205, allocations: 406.6 kB / 439.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3205, allocations: 0 / 439.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.321, allocations: 206.5 kB / 440 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.3214, allocations: 53.12 kB / 440.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/0.33, allocations: 3.404 MB / 443.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3305, allocations: 0.7557 MB / 444.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.3306, allocations: 30.27 kB / 444.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3308, allocations: 71.42 kB / 444.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3308, allocations: 4 kB / 444.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.3691, allocations: 6.476 MB / 450.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.86, allocations: 7.938 kB / 450.8 MB, free: 1.66 MB / 350.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable integrator.opAmp.out.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.364309458997013]