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.001322/0.001322, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001306/0.001306, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.398/1.398, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.001446/0.001446, allocations: 51.92 kB / 365.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004103/0.1069, allocations: 2.744 MB / 420.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1081, allocations: 0.6777 MB / 421.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1082, allocations: 4 kB / 421.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1084, allocations: 47.56 kB / 421.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1086, allocations: 87.28 kB / 421.4 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.1088, allocations: 99.8 kB / 421.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.1092, allocations: 346.6 kB / 421.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1094, allocations: 57.41 kB / 421.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1096, allocations: 131.5 kB / 422 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1097, allocations: 155.3 kB / 422.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.1098, allocations: 32 kB / 422.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.596e-05/0.1098, allocations: 28 kB / 422.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.1099, allocations: 63.75 kB / 422.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.11, allocations: 139.3 kB / 422.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.1104, allocations: 322.7 kB / 422.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1104, allocations: 0 / 422.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1104, allocations: 3.938 kB / 422.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1104, allocations: 4 kB / 422.7 MB, free: 7.641 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001221/0.1116, allocations: 0.6416 MB / 423.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1117, allocations: 8.031 kB / 423.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.1118, allocations: 58.72 kB / 423.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.1118, allocations: 32.75 kB / 423.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.1122, allocations: 283.6 kB / 423.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1122, allocations: 12.81 kB / 423.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.1122, allocations: 24.38 kB / 423.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.1129, allocations: 289.8 kB / 424.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1129, allocations: 3.938 kB / 424.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1129, allocations: 8 kB / 424.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1129, allocations: 4 kB / 424.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.1136, allocations: 241.6 kB / 424.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.1152, allocations: 0.8987 MB / 425.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.1167, allocations: 447.3 kB / 425.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.117, allocations: 80.8 kB / 425.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.117, allocations: 0 / 425.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.1174, allocations: 173.8 kB / 425.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.123e-06/0.1174, allocations: 0 / 425.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001965/0.1194, allocations: 0.5733 MB / 426.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.1195, allocations: 106.8 kB / 426.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.1198, allocations: 270.7 kB / 426.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1198, allocations: 33.7 kB / 426.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1199, allocations: 188 kB / 427.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.12, allocations: 31.73 kB / 427.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.1201, allocations: 49.66 kB / 427.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1202, allocations: 338.8 kB / 427.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.1206, allocations: 99.92 kB / 427.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.121, allocations: 202.2 kB / 427.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.1217, allocations: 304.7 kB / 428.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1217, allocations: 384 / 428.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001184/0.1228, allocations: 423.9 kB / 428.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.1229, allocations: 33.7 kB / 428.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1229, allocations: 8.062 kB / 428.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.1232, allocations: 64.75 kB / 428.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.1234, allocations: 55.83 kB / 428.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.1257, allocations: 1.613 MB / 430.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.126, allocations: 51.8 kB / 430.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.126, allocations: 12 kB / 430.3 MB, free: 15.48 MB / 366.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.0001592/0.1262, allocations: 149.8 kB / 430.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.1262, allocations: 27.8 kB / 430.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.1262, allocations: 21.7 kB / 430.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1262, allocations: 4 kB / 430.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1263, allocations: 0 / 430.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1263, allocations: 0 / 430.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1276, allocations: 0.6435 MB / 431.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1276, allocations: 0 / 431.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1277, allocations: 31.91 kB / 431.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.1279, allocations: 52.81 kB / 431.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1279, allocations: 4 kB / 431.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.13, allocations: 1.597 MB / 432.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.13, allocations: 0 / 432.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.131, allocations: 396 kB / 433.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.1311, allocations: 101 kB / 433.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.1311, allocations: 4.188 kB / 433.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.1314, allocations: 27.97 kB / 433.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.1314, allocations: 23.91 kB / 433.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1315, allocations: 4 kB / 433.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1317, allocations: 194 kB / 433.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1317, allocations: 0 / 433.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000349/0.132, allocations: 63.89 kB / 433.6 MB, free: 11.9 MB / 366.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.001387/0.1334, allocations: 0.9315 MB / 434.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.1344, allocations: 381.9 kB / 434.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1344, allocations: 4 kB / 434.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.1348, allocations: 207.2 kB / 435.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1352, allocations: 48.8 kB / 435.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.1403, allocations: 3 MB / 438.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1408, allocations: 0.7363 MB / 438.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1409, allocations: 26.36 kB / 438.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.141, allocations: 75.41 kB / 439 MB, free: 6.238 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.141, allocations: 4 kB / 439 MB, free: 6.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.1739, allocations: 6.067 MB / 445.1 MB, free: 356 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.2, allocations: 15.42 kB / 445.1 MB, free: 348 kB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.997367135249078]