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.001324/0.001324, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.001619/0.001619, allocations: 214 kB / 23.74 MB, free: 4.688 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.023 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 51.92 kB / 377.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2872, allocations: 53.37 MB / 431.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004535/0.2918, allocations: 3.237 MB / 434.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2933, allocations: 0.8181 MB / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.2935, allocations: 7.938 kB / 435.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.2937, allocations: 63.42 kB / 435.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.2939, allocations: 111 kB / 435.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.2942, allocations: 131.8 kB / 435.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.2947, allocations: 450.2 kB / 436 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.2949, allocations: 112.4 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.2952, allocations: 179.4 kB / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.2954, allocations: 183.2 kB / 436.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.2955, allocations: 40 kB / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.2956, allocations: 48 kB / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.2957, allocations: 91.62 kB / 436.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2959, allocations: 191.1 kB / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.2964, allocations: 0.5062 MB / 437.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2964, allocations: 3.938 kB / 437.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2964, allocations: 0 / 437.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2964, allocations: 3.938 kB / 437.3 MB, free: 0.7773 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.001009/0.2974, allocations: 0.6025 MB / 437.9 MB, free: 144 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2975, allocations: 12.03 kB / 437.9 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.2975, allocations: 70.72 kB / 438 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.2977, allocations: 48.69 kB / 438 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2981, allocations: 253.8 kB / 438.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.2982, allocations: 25.03 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.2982, allocations: 28.38 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.2988, allocations: 361.2 kB / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2988, allocations: 0 / 438.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.2989, allocations: 15.98 kB / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2989, allocations: 8 kB / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.2995, allocations: 274.4 kB / 439 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.3014, allocations: 1.222 MB / 440.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.3019, allocations: 198.7 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.3022, allocations: 88.83 kB / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3022, allocations: 3.984 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3022, allocations: 42.5 kB / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.3022, allocations: 0 / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001952/0.3042, allocations: 0.5582 MB / 441.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3042, allocations: 55.41 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3045, allocations: 300.2 kB / 441.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3045, allocations: 33.7 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.3047, allocations: 224.2 kB / 441.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.3047, allocations: 47.53 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.3048, allocations: 57.66 kB / 441.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.305, allocations: 330.8 kB / 442.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.3052, allocations: 79.95 kB / 442.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3054, allocations: 170.9 kB / 442.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.3059, allocations: 245.3 kB / 442.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3059, allocations: 0 / 442.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009462/0.3068, allocations: 406 kB / 443 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3068, allocations: 15.88 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3068, allocations: 0 / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.3072, allocations: 104.8 kB / 443.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3074, allocations: 43.92 kB / 443.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.3103, allocations: 2.067 MB / 445.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.3105, allocations: 43.72 kB / 445.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.3106, allocations: 8 kB / 445.3 MB, free: 8.383 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.0001595/0.3107, allocations: 153.7 kB / 445.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.3108, allocations: 31.91 kB / 445.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.3108, allocations: 29.84 kB / 445.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3108, allocations: 3.938 kB / 445.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3108, allocations: 0 / 445.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3108, allocations: 3.984 kB / 445.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3121, allocations: 0.6896 MB / 446.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3121, allocations: 0 / 446.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.3122, allocations: 19.98 kB / 446.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003109/0.3125, allocations: 96.73 kB / 446.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3125, allocations: 4 kB / 446.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.3152, allocations: 2.059 MB / 448.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3152, allocations: 0 / 448.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.3161, allocations: 411.4 kB / 448.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3161, allocations: 31.81 kB / 448.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.3161, allocations: 4 kB / 448.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3163, allocations: 23.97 kB / 448.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3164, allocations: 15.92 kB / 448.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3164, allocations: 4 kB / 448.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.3166, allocations: 219.1 kB / 449.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3166, allocations: 4 kB / 449.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.3171, allocations: 87.83 kB / 449.1 MB, free: 4.32 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.00114/0.3182, allocations: 0.9343 MB / 450.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006945/0.3189, allocations: 342.3 kB / 450.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3189, allocations: 4.625 kB / 450.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.3193, allocations: 225.6 kB / 450.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3196, allocations: 45.19 kB / 450.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.3243, allocations: 3.154 MB / 453.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3247, allocations: 0.7675 MB / 454.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.942e-05/0.3248, allocations: 26.28 kB / 454.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3249, allocations: 99.39 kB / 454.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3249, allocations: 0 / 454.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03833/0.3633, allocations: 6.874 MB / 461.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.78, allocations: 7.938 kB / 461.6 MB, free: 7.785 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.234433476114646]