Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001206/0.001206, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001388/0.001388, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2556, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003866/0.2594, allocations: 2.593 MB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2606, allocations: 0.6778 MB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2607, allocations: 7.938 kB / 434.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2609, allocations: 39.58 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.261, allocations: 91.25 kB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.2613, allocations: 99.81 kB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.2617, allocations: 354.5 kB / 435 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2619, allocations: 58.58 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.262, allocations: 131.5 kB / 435.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2622, allocations: 127.4 kB / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.2622, allocations: 28 kB / 435.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.2623, allocations: 32 kB / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.2624, allocations: 67.69 kB / 435.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.2625, allocations: 119.5 kB / 435.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.2629, allocations: 322.7 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2629, allocations: 0 / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2629, allocations: 0 / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.2629, allocations: 0 / 435.8 MB, free: 1.902 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001163/0.2641, allocations: 0.5722 MB / 436.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2641, allocations: 16.03 kB / 436.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.2642, allocations: 50.73 kB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.2642, allocations: 36.69 kB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.2646, allocations: 217.8 kB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.2646, allocations: 20.81 kB / 436.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.2646, allocations: 16.38 kB / 436.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.2653, allocations: 333.3 kB / 437.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2653, allocations: 3.938 kB / 437.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.2653, allocations: 8 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2653, allocations: 8 kB / 437.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.2661, allocations: 245.6 kB / 437.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.2676, allocations: 0.7977 MB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.269, allocations: 366.2 kB / 438.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.2693, allocations: 88.78 kB / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2693, allocations: 0 / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.2698, allocations: 229.1 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2698, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001935/0.2717, allocations: 0.5019 MB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.2718, allocations: 106.8 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.2721, allocations: 269.8 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.2722, allocations: 33.7 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2723, allocations: 192 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.2723, allocations: 35.69 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.2724, allocations: 45.7 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2726, allocations: 338.8 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.2729, allocations: 125.6 kB / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.2734, allocations: 278.7 kB / 440.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.274, allocations: 297.4 kB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2741, allocations: 4 kB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00119/0.2752, allocations: 461.5 kB / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.2753, allocations: 33.7 kB / 441.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2753, allocations: 4 kB / 441.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.2756, allocations: 64.88 kB / 441.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2758, allocations: 51.89 kB / 441.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.2781, allocations: 1.506 MB / 443.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.2785, allocations: 59.73 kB / 443.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2785, allocations: 8 kB / 443.2 MB, free: 10.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (24): * Single equations (assignments): 22 * 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.0001585/0.2786, allocations: 140 kB / 443.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.2787, allocations: 27.8 kB / 443.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.2787, allocations: 26.08 kB / 443.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2787, allocations: 8.031 kB / 443.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.2787, allocations: 0 / 443.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2787, allocations: 0 / 443.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.2801, allocations: 0.5917 MB / 444 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2801, allocations: 0 / 444 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.2802, allocations: 35.91 kB / 444 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.2804, allocations: 56.81 kB / 444 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2804, allocations: 0 / 444 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.2824, allocations: 1.498 MB / 445.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2824, allocations: 0 / 445.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.2834, allocations: 392 kB / 445.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.2834, allocations: 23.84 kB / 446 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.2835, allocations: 4 kB / 446 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2837, allocations: 39.95 kB / 446 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.2838, allocations: 15.98 kB / 446 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2838, allocations: 3.984 kB / 446 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.284, allocations: 193.2 kB / 446.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.284, allocations: 0 / 446.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.2844, allocations: 63.89 kB / 446.3 MB, free: 6.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.001341/0.2857, allocations: 0.9241 MB / 447.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009465/0.2867, allocations: 431.4 kB / 447.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2867, allocations: 4 kB / 447.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.2871, allocations: 199.2 kB / 447.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2874, allocations: 40.48 kB / 447.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.2925, allocations: 3.117 MB / 451 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2926, allocations: 134.2 kB / 451.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.2927, allocations: 22.3 kB / 451.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.2928, allocations: 75.41 kB / 451.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2928, allocations: 0 / 451.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.3282, allocations: 6.805 MB / 458 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.76, allocations: 10.81 kB / 458 MB, free: 10.9 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_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_VoltageFollower.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.263869676738977]