Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001616/0.001616, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.001977/0.001977, allocations: 193.7 kB / 23.71 MB, free: 4.422 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.364/1.364, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 52.17 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003958/0.2497, allocations: 2.572 MB / 425.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2508, allocations: 0.6544 MB / 425.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.251, allocations: 4 kB / 425.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2511, allocations: 35.58 kB / 425.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.2513, allocations: 99.25 kB / 426 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.2516, allocations: 95.81 kB / 426.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.252, allocations: 350.5 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2521, allocations: 62.58 kB / 426.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2523, allocations: 127.6 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2525, allocations: 131.3 kB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.2525, allocations: 28 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.609e-05/0.2526, allocations: 28 kB / 426.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.2527, allocations: 71.7 kB / 426.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2528, allocations: 119.4 kB / 427 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.2531, allocations: 330.7 kB / 427.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2531, allocations: 0 / 427.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2531, allocations: 0 / 427.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2532, allocations: 0 / 427.3 MB, free: 9.711 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.001187/0.2543, allocations: 0.5625 MB / 427.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2544, allocations: 8.031 kB / 427.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.2544, allocations: 58.72 kB / 427.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.2545, allocations: 32.75 kB / 427.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.2549, allocations: 210 kB / 428.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2549, allocations: 24.75 kB / 428.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.2549, allocations: 20.38 kB / 428.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.2556, allocations: 329.3 kB / 428.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2556, allocations: 0 / 428.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2556, allocations: 12 kB / 428.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2556, allocations: 4 kB / 428.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.2564, allocations: 245.6 kB / 428.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.2579, allocations: 0.8093 MB / 429.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.2594, allocations: 358.3 kB / 429.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.2597, allocations: 88.78 kB / 430 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2597, allocations: 0 / 430 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.2601, allocations: 221.2 kB / 430.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.2601, allocations: 0 / 430.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001991/0.2621, allocations: 0.5019 MB / 430.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.2622, allocations: 102.8 kB / 430.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.2625, allocations: 277.7 kB / 431.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2625, allocations: 29.7 kB / 431.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.2627, allocations: 195.9 kB / 431.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.2627, allocations: 35.73 kB / 431.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.2628, allocations: 53.66 kB / 431.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2629, allocations: 334.8 kB / 431.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.2633, allocations: 125.6 kB / 431.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.2637, allocations: 274.8 kB / 432.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.2644, allocations: 297.4 kB / 432.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2644, allocations: 4 kB / 432.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001207/0.2656, allocations: 461.6 kB / 432.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.2657, allocations: 35.89 kB / 432.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2657, allocations: 8.062 kB / 432.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.266, allocations: 60.81 kB / 433 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.2662, allocations: 47.91 kB / 433 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.2684, allocations: 1.506 MB / 434.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.2688, allocations: 55.73 kB / 434.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2688, allocations: 19.98 kB / 434.6 MB, free: 1.844 MB / 334.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.0001487/0.269, allocations: 133.8 kB / 434.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.269, allocations: 36.11 kB / 434.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.2691, allocations: 21.7 kB / 434.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2691, allocations: 7.938 kB / 434.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2691, allocations: 0 / 434.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2691, allocations: 3.938 kB / 434.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.2704, allocations: 0.5879 MB / 435.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2704, allocations: 0 / 435.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2705, allocations: 23.97 kB / 435.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000201/0.2707, allocations: 60.81 kB / 435.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2707, allocations: 4 kB / 435.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.2727, allocations: 1.491 MB / 437 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2727, allocations: 0 / 437 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2737, allocations: 400 kB / 437.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.2738, allocations: 23.84 kB / 437.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.2738, allocations: 7.984 kB / 437.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.2741, allocations: 27.97 kB / 437.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.2741, allocations: 15.97 kB / 437.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2741, allocations: 4 kB / 437.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.2743, allocations: 201.2 kB / 437.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2743, allocations: 0 / 437.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.2747, allocations: 67.83 kB / 437.7 MB, free: 14.55 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.001334/0.276, allocations: 0.9202 MB / 438.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009562/0.277, allocations: 423.4 kB / 439 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.277, allocations: 0.8125 kB / 439 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.2774, allocations: 198.6 kB / 439.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2778, allocations: 47.48 kB / 439.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.283, allocations: 3.12 MB / 442.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2831, allocations: 138.2 kB / 442.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.2832, allocations: 22.3 kB / 442.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2833, allocations: 75.41 kB / 442.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2833, allocations: 4 kB / 442.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.3211, allocations: 6.765 MB / 449.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.87, allocations: 9.953 kB / 449.4 MB, free: 2.758 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.207337711006403]