Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 43.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 53.34 MB / 426.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004542/0.109, allocations: 2.877 MB / 429.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1104, allocations: 0.7595 MB / 430 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1105, allocations: 7.938 kB / 430 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1107, allocations: 47.58 kB / 430 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1109, allocations: 103.2 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1112, allocations: 115.8 kB / 430.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1117, allocations: 390.5 kB / 430.6 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.1119, allocations: 95.25 kB / 430.7 MB, free: 376 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.1122, allocations: 155.5 kB / 430.9 MB, free: 220 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1124, allocations: 167.3 kB / 431 MB, free: 52 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.1124, allocations: 40 kB / 431.1 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2098/0.3222, allocations: 36.67 kB / 431.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.3224, allocations: 70.72 kB / 431.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.3227, allocations: 164.4 kB / 431.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.3233, allocations: 431.5 kB / 431.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3233, allocations: 2.812 kB / 431.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3233, allocations: 0 / 431.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3233, allocations: 0 / 431.8 MB, free: 7.93 MB / 350.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.001254/0.3245, allocations: 0.664 MB / 432.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3246, allocations: 10.28 kB / 432.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.3246, allocations: 63.11 kB / 432.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.3247, allocations: 37.41 kB / 432.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.3251, allocations: 288 kB / 432.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3251, allocations: 18.5 kB / 432.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.3252, allocations: 23.72 kB / 432.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.3259, allocations: 319 kB / 433.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3259, allocations: 2.812 kB / 433.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.3259, allocations: 9.25 kB / 433.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3259, allocations: 6.188 kB / 433.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.3267, allocations: 276 kB / 433.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.3285, allocations: 1.175 MB / 434.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.3294, allocations: 237.8 kB / 434.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.3297, allocations: 96.56 kB / 435 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.3298, allocations: 3.516 kB / 435 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.3302, allocations: 174.9 kB / 435.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.3302, allocations: 0 / 435.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002113/0.3323, allocations: 0.5925 MB / 435.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.3324, allocations: 86.81 kB / 435.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.3327, allocations: 261.1 kB / 436.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3327, allocations: 30.55 kB / 436.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3328, allocations: 198.6 kB / 436.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.3328, allocations: 45.56 kB / 436.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.3329, allocations: 50.67 kB / 436.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.333, allocations: 332.6 kB / 436.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.3333, allocations: 101 kB / 436.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.3337, allocations: 189.3 kB / 437 MB, free: 5.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/0.3345, allocations: 307 kB / 437.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3345, allocations: 1.688 kB / 437.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00131/0.3358, allocations: 444.3 kB / 437.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.3358, allocations: 37.72 kB / 437.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3359, allocations: 2.312 kB / 437.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.3362, allocations: 68.53 kB / 437.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3365, allocations: 57.33 kB / 437.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.3388, allocations: 1.63 MB / 439.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.3392, allocations: 49.64 kB / 439.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.3392, allocations: 13.62 kB / 439.6 MB, free: 3.789 MB / 350.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.0001871/0.3394, allocations: 152.8 kB / 439.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.3394, allocations: 26.31 kB / 439.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.3395, allocations: 29.34 kB / 439.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3395, allocations: 5.844 kB / 439.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3395, allocations: 1.625 kB / 439.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3395, allocations: 2.016 kB / 439.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3398, allocations: 309.9 kB / 440.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3398, allocations: 0.7031 kB / 440.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.34, allocations: 37.81 kB / 440.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/0.3402, allocations: 56.52 kB / 440.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3402, allocations: 5.328 kB / 440.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.342, allocations: 1.629 MB / 441.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.342, allocations: 0 / 441.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3434, allocations: 452 kB / 442.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.3435, allocations: 103.7 kB / 442.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.3435, allocations: 6.984 kB / 442.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.3437, allocations: 32.33 kB / 442.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.3438, allocations: 15.8 kB / 442.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3438, allocations: 4.672 kB / 442.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.344, allocations: 195.5 kB / 442.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 442.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.3444, allocations: 66.55 kB / 442.7 MB, free: 1.691 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.001598/0.346, allocations: 0.9816 MB / 443.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.347, allocations: 410.6 kB / 444.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.347, allocations: 0 / 444.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.3475, allocations: 222 kB / 444.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3478, allocations: 51.08 kB / 444.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/0.3558, allocations: 3.406 MB / 447.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3562, allocations: 0.7558 MB / 448.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.3563, allocations: 22.62 kB / 448.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3565, allocations: 82.44 kB / 448.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3565, allocations: 0 / 448.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.4008, allocations: 6.348 MB / 455 MB, free: 12.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 9.156 kB / 455 MB, free: 12.33 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.348508348994073]