Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.00164/0.00164, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.001836/0.001836, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.382/1.382, allocations: 225.6 MB / 249.1 MB, free: 3.648 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.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 55.92 kB / 365.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004469/0.109, allocations: 3.201 MB / 421 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1105, allocations: 0.7596 MB / 421.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.1107, allocations: 8 kB / 421.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1109, allocations: 59.42 kB / 421.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1111, allocations: 115 kB / 422 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1114, allocations: 119.8 kB / 422.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.1119, allocations: 450.1 kB / 422.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.1121, allocations: 111.9 kB / 422.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1124, allocations: 171.4 kB / 422.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1126, allocations: 171.2 kB / 423 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.1127, allocations: 48 kB / 423 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.1127, allocations: 44 kB / 423 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.1128, allocations: 87.69 kB / 423.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.113, allocations: 203.1 kB / 423.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.1135, allocations: 0.5019 MB / 423.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1136, allocations: 0 / 423.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1136, allocations: 0 / 423.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1136, allocations: 0 / 423.8 MB, free: 6.566 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001084/0.1146, allocations: 0.6623 MB / 424.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1147, allocations: 12.03 kB / 424.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.02e-05/0.1148, allocations: 66.72 kB / 424.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.1148, allocations: 40.7 kB / 424.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.1154, allocations: 315.5 kB / 424.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.1154, allocations: 21.03 kB / 424.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.1154, allocations: 36.31 kB / 425 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.1161, allocations: 353.1 kB / 425.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1161, allocations: 0 / 425.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.1161, allocations: 19.98 kB / 425.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1161, allocations: 8 kB / 425.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.1168, allocations: 266.5 kB / 425.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1187, allocations: 1.268 MB / 426.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.1193, allocations: 275.8 kB / 427.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1195, allocations: 92.75 kB / 427.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1195, allocations: 0 / 427.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1195, allocations: 42.56 kB / 427.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.1195, allocations: 0 / 427.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002025/0.1216, allocations: 0.6379 MB / 427.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1216, allocations: 59.34 kB / 428 MB, free: 2.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1219, allocations: 295 kB / 428.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.122, allocations: 33.7 kB / 428.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1221, allocations: 220.2 kB / 428.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.1222, allocations: 51.53 kB / 428.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.1223, allocations: 53.66 kB / 428.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1224, allocations: 338.8 kB / 428.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1226, allocations: 83.95 kB / 429 MB, free: 1.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.1229, allocations: 162.2 kB / 429.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.1233, allocations: 238.1 kB / 429.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1233, allocations: 0 / 429.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009193/0.1242, allocations: 411.8 kB / 429.8 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1242, allocations: 7.938 kB / 429.8 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1242, allocations: 4 kB / 429.8 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.1247, allocations: 104.8 kB / 429.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1249, allocations: 35.92 kB / 430 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.128, allocations: 2.174 MB / 432.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.1282, allocations: 39.83 kB / 432.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1282, allocations: 15.94 kB / 432.2 MB, free: 13.68 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.1284, allocations: 150.4 kB / 432.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.1285, allocations: 35.8 kB / 432.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.1285, allocations: 25.91 kB / 432.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1285, allocations: 11.88 kB / 432.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1285, allocations: 0 / 432.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1286, allocations: 4 kB / 432.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.1298, allocations: 0.7179 MB / 433.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1298, allocations: 0 / 433.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.1299, allocations: 11.98 kB / 433.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003262/0.1302, allocations: 104.7 kB / 433.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1302, allocations: 8 kB / 433.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.133, allocations: 2.154 MB / 435.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.133, allocations: 0 / 435.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.1339, allocations: 414.7 kB / 435.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.134, allocations: 112.8 kB / 435.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.134, allocations: 0 / 435.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1342, allocations: 27.98 kB / 436 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1342, allocations: 11.92 kB / 436 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1342, allocations: 8 kB / 436 MB, free: 9.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.1345, allocations: 217.9 kB / 436.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1345, allocations: 0 / 436.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.1349, allocations: 83.89 kB / 436.3 MB, free: 9.355 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.1361, allocations: 0.9472 MB / 437.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.1369, allocations: 338.4 kB / 437.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1369, allocations: 0 / 437.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.1372, allocations: 226.2 kB / 437.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1376, allocations: 43.5 kB / 437.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.1423, allocations: 3.137 MB / 440.9 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1427, allocations: 0.7713 MB / 441.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1428, allocations: 30.27 kB / 441.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1429, allocations: 95.41 kB / 441.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1429, allocations: 0 / 441.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/0.3619, allocations: 6.641 MB / 448.5 MB, free: 30.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.19, allocations: 3.625 kB / 448.5 MB, free: 30.73 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.946818829048425]