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.001863/0.001863, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002285/0.002285, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.0021/0.0021, allocations: 55.91 kB / 377.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 53.37 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004337/0.3456, allocations: 2.694 MB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.347, allocations: 0.7284 MB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.3472, allocations: 7.938 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.3473, allocations: 43.56 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.3475, allocations: 103.2 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3478, allocations: 111.8 kB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.3483, allocations: 394.5 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.3485, allocations: 101.3 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.3488, allocations: 159.4 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.349, allocations: 163.4 kB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.349, allocations: 36 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.3491, allocations: 40 kB / 435.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.3492, allocations: 75.7 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.3493, allocations: 135.4 kB / 435.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.3498, allocations: 430.3 kB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3498, allocations: 4 kB / 436.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3499, allocations: 0 / 436.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3499, allocations: 4 kB / 436.3 MB, free: 1.379 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.001322/0.3512, allocations: 0.5926 MB / 436.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3512, allocations: 12.03 kB / 436.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.3513, allocations: 54.73 kB / 437 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.3514, allocations: 32.75 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.3518, allocations: 242.8 kB / 437.2 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3518, allocations: 16.88 kB / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.3519, allocations: 24.38 kB / 437.3 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.3526, allocations: 348.5 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3526, allocations: 3.938 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3527, allocations: 12 kB / 437.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3527, allocations: 4 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.3535, allocations: 273.8 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.3554, allocations: 1.048 MB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.3563, allocations: 238.5 kB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.3567, allocations: 104.8 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3567, allocations: 0 / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.3572, allocations: 194.7 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3572, allocations: 0 / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002029/0.3592, allocations: 0.5213 MB / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.3593, allocations: 81.11 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.3596, allocations: 269.8 kB / 440.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.3596, allocations: 29.7 kB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3598, allocations: 204 kB / 440.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.3598, allocations: 47.62 kB / 440.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.3599, allocations: 49.66 kB / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3601, allocations: 330.8 kB / 441 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.3605, allocations: 129.8 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.3609, allocations: 250.9 kB / 441.4 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.3616, allocations: 303.7 kB / 441.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3616, allocations: 0 / 441.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001239/0.3629, allocations: 469.5 kB / 442.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.3629, allocations: 45.62 kB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3629, allocations: 4 kB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.3633, allocations: 72.8 kB / 442.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3635, allocations: 47.97 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.3659, allocations: 1.525 MB / 443.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.3663, allocations: 43.86 kB / 443.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.3663, allocations: 19.88 kB / 443.9 MB, free: 9.301 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.000173/0.3665, allocations: 145.8 kB / 444 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3665, allocations: 23.92 kB / 444 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.3666, allocations: 33.64 kB / 444.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3666, allocations: 0 / 444.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3666, allocations: 3.938 kB / 444.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3666, allocations: 0 / 444.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.3669, allocations: 260.5 kB / 444.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3669, allocations: 4 kB / 444.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3671, allocations: 27.97 kB / 444.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/0.3673, allocations: 72.8 kB / 444.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3673, allocations: 4 kB / 444.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.3694, allocations: 1.521 MB / 446 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3694, allocations: 4.031 kB / 446 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.3708, allocations: 445.5 kB / 446.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.3709, allocations: 35.77 kB / 446.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3709, allocations: 8.047 kB / 446.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3712, allocations: 31.97 kB / 446.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.3712, allocations: 15.97 kB / 446.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3713, allocations: 4 kB / 446.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.3715, allocations: 197.1 kB / 446.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 446.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.3718, allocations: 67.89 kB / 446.7 MB, free: 6.23 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.001737/0.3736, allocations: 0.9805 MB / 447.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009882/0.3746, allocations: 431.5 kB / 448.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3746, allocations: 0.6875 kB / 448.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.375, allocations: 214.5 kB / 448.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3753, allocations: 48.44 kB / 448.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/0.3831, allocations: 3.514 MB / 451.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.3832, allocations: 150.8 kB / 452.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.3834, allocations: 26.27 kB / 452.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3835, allocations: 83.41 kB / 452.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3835, allocations: 3.938 kB / 452.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.4227, allocations: 7.078 MB / 459.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.52, allocations: 3.984 kB / 459.3 MB, free: 9.637 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.097629291005433]