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.001608/0.001608, allocations: 111.8 kB / 18.49 MB, free: 4.562 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.001366/0.001366, allocations: 194.5 kB / 21.43 MB, free: 1.633 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.39/1.39, allocations: 225.6 MB / 249.8 MB, free: 3.695 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.92 kB / 366.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1011, allocations: 52.15 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004937/0.1061, allocations: 3.184 MB / 421.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1078, allocations: 0.7635 MB / 422.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.1082, allocations: 8 kB / 422.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1086, allocations: 63.42 kB / 422.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.109, allocations: 111 kB / 422.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.1094, allocations: 119.8 kB / 422.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006692/0.1101, allocations: 454.1 kB / 423.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.1104, allocations: 107.9 kB / 423.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.1107, allocations: 179.3 kB / 423.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.1111, allocations: 183.2 kB / 423.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.768e-05/0.1112, allocations: 44 kB / 423.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.1113, allocations: 44 kB / 423.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.1114, allocations: 87.64 kB / 423.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.1116, allocations: 195.1 kB / 424 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.1122, allocations: 0.498 MB / 424.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1122, allocations: 4 kB / 424.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1122, allocations: 0 / 424.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1122, allocations: 0 / 424.5 MB, free: 6.527 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.001324/0.1136, allocations: 0.6662 MB / 425.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1136, allocations: 8.031 kB / 425.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.183e-05/0.1136, allocations: 12.84 kB / 425.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.181e-05/0.1137, allocations: 70.72 kB / 425.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.592e-05/0.1138, allocations: 40.7 kB / 425.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.1143, allocations: 307.5 kB / 425.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.1144, allocations: 33.02 kB / 425.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.1144, allocations: 28.38 kB / 425.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.1151, allocations: 352.9 kB / 426 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1151, allocations: 0 / 426 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.1152, allocations: 16 kB / 426.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1152, allocations: 8 kB / 426.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006419/0.1158, allocations: 274.4 kB / 426.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.118, allocations: 1.257 MB / 427.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.1187, allocations: 287.8 kB / 427.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.1189, allocations: 88.83 kB / 428 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1189, allocations: 7.984 kB / 428 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.119, allocations: 30.56 kB / 428 MB, free: 2.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.119, allocations: 3.938 kB / 428 MB, free: 2.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002195/0.1212, allocations: 0.6356 MB / 428.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.1212, allocations: 55.41 kB / 428.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.1216, allocations: 299 kB / 429 MB, free: 1.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1216, allocations: 29.7 kB / 429 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1218, allocations: 224.2 kB / 429.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.1218, allocations: 51.53 kB / 429.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.1219, allocations: 53.66 kB / 429.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.122, allocations: 338.8 kB / 429.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1223, allocations: 79.95 kB / 429.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.1225, allocations: 166.2 kB / 429.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.123, allocations: 248.6 kB / 430.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.123, allocations: 0 / 430.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009733/0.124, allocations: 402 kB / 430.5 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.124, allocations: 10.34 kB / 430.5 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.124, allocations: 4 kB / 430.5 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.1244, allocations: 104.8 kB / 430.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1246, allocations: 39.97 kB / 430.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.1278, allocations: 2.176 MB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.128, allocations: 35.78 kB / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.128, allocations: 15.97 kB / 432.9 MB, free: 13.62 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.0001711/0.1282, allocations: 153.2 kB / 433.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1283, allocations: 31.88 kB / 433.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.1283, allocations: 33.84 kB / 433.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1283, allocations: 0 / 433.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1283, allocations: 0 / 433.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1284, allocations: 7.938 kB / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.1297, allocations: 0.7063 MB / 433.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.1297, allocations: 7.984 kB / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.1298, allocations: 19.98 kB / 433.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.1301, allocations: 104.7 kB / 434 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1301, allocations: 0 / 434 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002962/0.1331, allocations: 2.162 MB / 436.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1331, allocations: 0 / 436.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.134, allocations: 412.5 kB / 436.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1341, allocations: 112.8 kB / 436.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1341, allocations: 0 / 436.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1343, allocations: 27.92 kB / 436.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.1344, allocations: 11.92 kB / 436.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1344, allocations: 11.98 kB / 436.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.1346, allocations: 210 kB / 436.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1346, allocations: 4 kB / 436.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1351, allocations: 83.89 kB / 437 MB, free: 9.305 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.00129/0.1364, allocations: 0.9543 MB / 437.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007669/0.1372, allocations: 331 kB / 438.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1372, allocations: 0 / 438.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.1376, allocations: 230.6 kB / 438.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.138, allocations: 33.11 kB / 438.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.1434, allocations: 3.135 MB / 441.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.1438, allocations: 0.7713 MB / 442.4 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.144, allocations: 34.25 kB / 442.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.1441, allocations: 91.41 kB / 442.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1441, allocations: 0 / 442.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/0.3719, allocations: 6.693 MB / 449.2 MB, free: 31.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.94, allocations: 6.484 kB / 449.3 MB, free: 31.06 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.317817366041709]