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.001903/0.001903, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002043/0.002043, allocations: 185.5 kB / 23.71 MB, free: 4.434 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.449/1.449, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.001555/0.001555, allocations: 51.86 kB / 370.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2524, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004446/0.2568, allocations: 2.688 MB / 425.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2582, allocations: 0.6973 MB / 426 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.2584, allocations: 4 kB / 426 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.2585, allocations: 47.52 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.2588, allocations: 103.2 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.2591, allocations: 115.8 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.2596, allocations: 390.5 kB / 426.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.2598, allocations: 83.69 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.26, allocations: 155.4 kB / 426.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2603, allocations: 147.3 kB / 427 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.2603, allocations: 36 kB / 427 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.2604, allocations: 40 kB / 427.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.2605, allocations: 79.69 kB / 427.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.2607, allocations: 135.4 kB / 427.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.2612, allocations: 434.8 kB / 427.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2612, allocations: 0 / 427.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2612, allocations: 0 / 427.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2612, allocations: 0 / 427.7 MB, free: 9.258 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.001336/0.2625, allocations: 0.5918 MB / 428.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2626, allocations: 12.03 kB / 428.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.547e-05/0.2627, allocations: 58.73 kB / 428.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.2627, allocations: 40.7 kB / 428.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.2632, allocations: 234.9 kB / 428.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2632, allocations: 16.88 kB / 428.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.2633, allocations: 20.38 kB / 428.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000771/0.264, allocations: 340.5 kB / 429 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.264, allocations: 4 kB / 429 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.2641, allocations: 15.98 kB / 429 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.2641, allocations: 4 kB / 429 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008183/0.2649, allocations: 277.8 kB / 429.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.2669, allocations: 1.041 MB / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/0.2678, allocations: 238.5 kB / 430.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.2682, allocations: 96.78 kB / 430.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2682, allocations: 3.984 kB / 430.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.2687, allocations: 198.6 kB / 430.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.2687, allocations: 0 / 430.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002037/0.2707, allocations: 0.5214 MB / 431.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.2708, allocations: 81.05 kB / 431.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2711, allocations: 273.8 kB / 431.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2711, allocations: 25.7 kB / 431.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.2713, allocations: 196 kB / 432 MB, free: 4.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2713, allocations: 59.5 kB / 432 MB, free: 4.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.2714, allocations: 45.7 kB / 432.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2716, allocations: 338.8 kB / 432.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.272, allocations: 129.9 kB / 432.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.2724, allocations: 240.1 kB / 432.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.2732, allocations: 303.7 kB / 433 MB, free: 3.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2732, allocations: 0 / 433 MB, free: 3.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001245/0.2744, allocations: 477.5 kB / 433.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.2744, allocations: 37.64 kB / 433.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2745, allocations: 4 kB / 433.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/0.2748, allocations: 64.88 kB / 433.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.275, allocations: 59.89 kB / 433.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.2773, allocations: 1.521 MB / 435.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.2776, allocations: 51.8 kB / 435.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.2777, allocations: 11.94 kB / 435.3 MB, free: 1.191 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.000156/0.2778, allocations: 156.9 kB / 435.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.2779, allocations: 19.86 kB / 435.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.2779, allocations: 29.69 kB / 435.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2779, allocations: 4.062 kB / 435.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2779, allocations: 0 / 435.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2779, allocations: 0 / 435.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.2782, allocations: 252.6 kB / 435.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2782, allocations: 0 / 435.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.2784, allocations: 27.97 kB / 435.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.2786, allocations: 72.75 kB / 435.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2786, allocations: 0 / 435.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.2807, allocations: 1.518 MB / 437.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2807, allocations: 96 / 437.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.282, allocations: 453.4 kB / 437.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.2821, allocations: 35.81 kB / 437.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.2821, allocations: 4 kB / 437.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2824, allocations: 35.97 kB / 437.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.2824, allocations: 15.97 kB / 437.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.2824, allocations: 8 kB / 437.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2826, allocations: 189.2 kB / 438.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2826, allocations: 0 / 438.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.283, allocations: 71.84 kB / 438.1 MB, free: 14.14 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.001748/0.2847, allocations: 0.9843 MB / 439.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.2857, allocations: 435.5 kB / 439.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2857, allocations: 0 / 439.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.2862, allocations: 219.2 kB / 439.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.2865, allocations: 40.45 kB / 439.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007959/0.2944, allocations: 3.516 MB / 443.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.2946, allocations: 142.8 kB / 443.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.2947, allocations: 30.22 kB / 443.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.2948, allocations: 79.41 kB / 443.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2948, allocations: 4 kB / 443.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.3342, allocations: 7.007 MB / 450.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.72, allocations: 0 / 450.6 MB, free: 1.609 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.218049687799066]