Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001591/0.001591, allocations: 116.9 kB / 18.45 MB, free: 4.566 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.002114/0.002114, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 207.6 MB / 231.8 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 55.92 kB / 342.3 MB, free: 9.969 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 49.13 MB / 391.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004238/0.1091, allocations: 2.761 MB / 394.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1103, allocations: 0.6978 MB / 394.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1104, allocations: 4 kB / 394.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1106, allocations: 51.5 kB / 394.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1108, allocations: 87.2 kB / 395 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1111, allocations: 95.88 kB / 395.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.1115, allocations: 378.3 kB / 395.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.1117, allocations: 90.92 kB / 395.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1119, allocations: 147.4 kB / 395.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1122, allocations: 159.4 kB / 395.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.1122, allocations: 36 kB / 395.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.1123, allocations: 36 kB / 396 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.1124, allocations: 83.67 kB / 396 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1125, allocations: 159.2 kB / 396.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.113, allocations: 378.5 kB / 396.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.113, allocations: 3.938 kB / 396.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.113, allocations: 7.938 kB / 396.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.113, allocations: 0 / 396.6 MB, free: 3.508 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00137/0.1144, allocations: 0.6534 MB / 397.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1144, allocations: 8.031 kB / 397.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.1145, allocations: 62.72 kB / 397.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.1146, allocations: 36.7 kB / 397.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.115, allocations: 264.9 kB / 397.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.115, allocations: 20.94 kB / 397.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.1151, allocations: 28.36 kB / 397.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.1158, allocations: 303.5 kB / 397.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1158, allocations: 0 / 397.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.1158, allocations: 12 kB / 397.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1158, allocations: 8 kB / 398 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.1167, allocations: 249.6 kB / 398.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.1185, allocations: 1.093 MB / 399.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/0.1193, allocations: 206.6 kB / 399.5 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.1196, allocations: 92.78 kB / 399.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1197, allocations: 0 / 399.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/0.1201, allocations: 161.9 kB / 399.7 MB, free: 100 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 3.507e-06/0.1201, allocations: 3.984 kB / 399.7 MB, free: 96 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002279/0.1224, allocations: 0.5184 MB / 400.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.1225, allocations: 102.8 kB / 400.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.1229, allocations: 286.7 kB / 400.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.1229, allocations: 29.7 kB / 400.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1231, allocations: 199.9 kB / 400.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.1231, allocations: 43.64 kB / 400.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.1232, allocations: 49.94 kB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1234, allocations: 334.8 kB / 401.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.1238, allocations: 100.2 kB / 401.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.1242, allocations: 195.1 kB / 401.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.125, allocations: 305.3 kB / 401.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.125, allocations: 0 / 401.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001305/0.1263, allocations: 427.7 kB / 402.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.1264, allocations: 33.7 kB / 402.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1264, allocations: 7.938 kB / 402.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.1268, allocations: 76.89 kB / 402.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.127, allocations: 47.91 kB / 402.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.1298, allocations: 1.731 MB / 404.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.1302, allocations: 59.77 kB / 404.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1302, allocations: 8 kB / 404.2 MB, free: 11.23 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.1304, allocations: 145.7 kB / 404.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.1304, allocations: 27.8 kB / 404.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.1305, allocations: 25.7 kB / 404.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1305, allocations: 4 kB / 404.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1305, allocations: 0 / 404.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1305, allocations: 4 kB / 404.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.1309, allocations: 301.5 kB / 404.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1309, allocations: 4 kB / 404.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.131, allocations: 19.97 kB / 404.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/0.1313, allocations: 64.81 kB / 404.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.1313, allocations: 11.98 kB / 404.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.1339, allocations: 1.7 MB / 406.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1339, allocations: 0 / 406.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.135, allocations: 313.5 kB / 406.8 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.1351, allocations: 120.8 kB / 407 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.1351, allocations: 8 kB / 407 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.1354, allocations: 27.95 kB / 407 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1355, allocations: 24.16 kB / 407 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1355, allocations: 11.94 kB / 407 MB, free: 8.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.1358, allocations: 202 kB / 407.2 MB, free: 8.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1358, allocations: 4 kB / 407.2 MB, free: 8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.1362, allocations: 79.89 kB / 407.3 MB, free: 7.922 MB / 334.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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.1377, allocations: 0.8394 MB / 408.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.1389, allocations: 409.6 kB / 408.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1389, allocations: 0.8125 kB / 408.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.1394, allocations: 214.6 kB / 408.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1397, allocations: 40.8 kB / 408.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/0.1457, allocations: 3.004 MB / 411.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.1461, allocations: 0.7557 MB / 412.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1463, allocations: 30.27 kB / 412.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1464, allocations: 71.42 kB / 412.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of SimCode: time 1.322e-06/0.1464, allocations: 0 / 412.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.1842, allocations: 6.846 MB / 419.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.15, allocations: 3.938 kB / 419.5 MB, free: 11.39 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vIn.signalSource.y in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv. Warning: Get data of variable vIn.signalSource.y from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.813655833000666]