Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001224/0.001224, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.00135/0.00135, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.92 kB / 378.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.24, allocations: 53.36 MB / 432 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004492/0.2445, allocations: 3.231 MB / 435.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.246, allocations: 0.8219 MB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.2461, allocations: 15.88 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2463, allocations: 59.42 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.2465, allocations: 111 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.2468, allocations: 139.8 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.2473, allocations: 446.2 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.2476, allocations: 120.3 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.2478, allocations: 167.4 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2481, allocations: 183.2 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.2481, allocations: 44 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.2482, allocations: 44 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.2483, allocations: 95.61 kB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.2485, allocations: 191.1 kB / 437.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.2491, allocations: 0.5067 MB / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2491, allocations: 4 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2491, allocations: 4 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2491, allocations: 3.938 kB / 438.1 MB, free: 0.668 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001049/0.2501, allocations: 0.5947 MB / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2502, allocations: 12.03 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.818e-05/0.2502, allocations: 8.844 kB / 438.7 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.256e-05/0.2503, allocations: 66.72 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2505, allocations: 56.69 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.2509, allocations: 249.8 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.2509, allocations: 29.03 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.251, allocations: 28.38 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.2516, allocations: 353 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2516, allocations: 0 / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.2516, allocations: 12 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.2517, allocations: 11.98 kB / 439.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.2522, allocations: 274.4 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.2542, allocations: 1.226 MB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.2548, allocations: 206.7 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.255, allocations: 86.64 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.255, allocations: 0 / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.2551, allocations: 42.5 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.2551, allocations: 4 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002074/0.2571, allocations: 0.5564 MB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2572, allocations: 55.34 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.2575, allocations: 300.2 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.2575, allocations: 29.7 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.2577, allocations: 224.2 kB / 442.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.2577, allocations: 51.53 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.2578, allocations: 53.66 kB / 442.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.258, allocations: 334.8 kB / 442.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.2582, allocations: 79.95 kB / 443 MB, free: 11.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.2585, allocations: 166.9 kB / 443.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.2589, allocations: 246.1 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2589, allocations: 4 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00098/0.2599, allocations: 404.5 kB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2599, allocations: 12.06 kB / 443.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2599, allocations: 4 kB / 443.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.2604, allocations: 100.8 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2605, allocations: 43.92 kB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.2636, allocations: 2.059 MB / 446 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.2638, allocations: 43.78 kB / 446.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.2639, allocations: 12 kB / 446.1 MB, free: 8.277 MB / 350.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.0001762/0.264, allocations: 152.4 kB / 446.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.2641, allocations: 31.78 kB / 446.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.2642, allocations: 33.78 kB / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2642, allocations: 3.984 kB / 446.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2642, allocations: 0 / 446.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2642, allocations: 4 kB / 446.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.2655, allocations: 0.6965 MB / 447 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2655, allocations: 4 kB / 447 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.2655, allocations: 11.98 kB / 447 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.2659, allocations: 100.7 kB / 447.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2659, allocations: 3.984 kB / 447.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.2688, allocations: 2.059 MB / 449.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2688, allocations: 0 / 449.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.2697, allocations: 416.4 kB / 449.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.2697, allocations: 23.81 kB / 449.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.2697, allocations: 8 kB / 449.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.2699, allocations: 23.97 kB / 449.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.27, allocations: 15.92 kB / 449.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.27, allocations: 7.984 kB / 449.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.2702, allocations: 215.1 kB / 449.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2702, allocations: 0 / 449.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.2707, allocations: 87.83 kB / 449.9 MB, free: 4.207 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: 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.001231/0.2719, allocations: 0.9427 MB / 450.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.2727, allocations: 338.5 kB / 451.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2727, allocations: 0 / 451.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.2731, allocations: 222.4 kB / 451.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.2735, allocations: 47.16 kB / 451.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.2784, allocations: 3.156 MB / 454.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.2788, allocations: 0.7675 MB / 455.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.2789, allocations: 22.28 kB / 455.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.2791, allocations: 103.4 kB / 455.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2791, allocations: 0 / 455.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.3114, allocations: 6.899 MB / 462.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.7, allocations: 6.828 kB / 462.4 MB, free: 7.656 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 15.031372674973682]