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.0008294/0.0008294, allocations: 88.05 kB / 20.67 MB, free: 3.871 MB / 18.57 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.0008056/0.0008056, allocations: 145.1 kB / 23.93 MB, free: 0.6172 MB / 18.57 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 0.8784/0.8784, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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 1.392e-06/1.392e-06, allocations: 3.938 kB / 318.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.34e-05, allocations: 2.281 kB / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002766/0.002779, allocations: 2.943 MB / 321.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.00363, allocations: 0.7324 MB / 322.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.003749, allocations: 7.938 kB / 322.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.003895, allocations: 63.36 kB / 322.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.004044, allocations: 115 kB / 322.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.004293, allocations: 127.7 kB / 322.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.004615, allocations: 458 kB / 322.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.004817, allocations: 108.5 kB / 323 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.005034, allocations: 259.3 kB / 323.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.005458, allocations: 131.6 kB / 323.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.005508, allocations: 44 kB / 323.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.441e-05/0.005542, allocations: 44 kB / 323.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.005594, allocations: 83.69 kB / 323.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.005683, allocations: 135.7 kB / 323.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.006061, allocations: 0.5063 MB / 324.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006063, allocations: 0 / 324.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.006065, allocations: 0 / 324.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.00607, allocations: 7.938 kB / 324.2 MB, free: 0.5625 MB / 282.7 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.0007436/0.006814, allocations: 0.5831 MB / 324.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.006856, allocations: 16.92 kB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/0.006912, allocations: 70.67 kB / 324.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.006967, allocations: 44.66 kB / 324.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.007272, allocations: 245.1 kB / 325.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.007295, allocations: 25.03 kB / 325.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.007325, allocations: 28.38 kB / 325.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.007808, allocations: 430.7 kB / 325.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.00782, allocations: 4.188 kB / 325.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.007847, allocations: 20.12 kB / 325.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.007859, allocations: 8 kB / 325.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.008207, allocations: 266.5 kB / 325.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.009535, allocations: 1.125 MB / 327 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.009923, allocations: 202.7 kB / 327.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.01005, allocations: 84.81 kB / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.01007, allocations: 7.922 kB / 327.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.0101, allocations: 38.56 kB / 327.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.0101, allocations: 0 / 327.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001128/0.01123, allocations: 0.5641 MB / 327.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.01126, allocations: 55.34 kB / 328 MB, free: 12.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.01148, allocations: 304.1 kB / 328.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.0115, allocations: 29.7 kB / 328.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.01161, allocations: 220.3 kB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.01164, allocations: 59.52 kB / 328.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.0117, allocations: 49.66 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01181, allocations: 338.8 kB / 329 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.01193, allocations: 75.95 kB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.01209, allocations: 162.2 kB / 329.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.01238, allocations: 252.9 kB / 329.5 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01238, allocations: 0 / 329.5 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000534/0.01291, allocations: 406.1 kB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01293, allocations: 8.062 kB / 329.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01293, allocations: 4 kB / 329.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.01321, allocations: 108.8 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.01329, allocations: 39.92 kB / 330 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.0155, allocations: 2.043 MB / 332 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01561, allocations: 47.66 kB / 332.1 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01562, allocations: 12 kB / 332.1 MB, free: 8.215 MB / 298.7 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.000116/0.01574, allocations: 145.8 kB / 332.2 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.01577, allocations: 23.86 kB / 332.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.01581, allocations: 29.84 kB / 332.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01581, allocations: 0 / 332.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01581, allocations: 4 kB / 332.3 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.01582, allocations: 11.92 kB / 332.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.01655, allocations: 0.6583 MB / 333 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01655, allocations: 0 / 333 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.01659, allocations: 11.98 kB / 333 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.01678, allocations: 100.8 kB / 333.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.01679, allocations: 8 kB / 333.1 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.01837, allocations: 2.04 MB / 335.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01837, allocations: 0 / 335.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.01884, allocations: 415.7 kB / 335.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.01887, allocations: 27.8 kB / 335.6 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01889, allocations: 8 kB / 335.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.01899, allocations: 23.97 kB / 335.6 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01903, allocations: 11.98 kB / 335.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.01904, allocations: 7.984 kB / 335.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.01919, allocations: 211.1 kB / 335.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01919, allocations: 0 / 335.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000302/0.01949, allocations: 91.84 kB / 335.9 MB, free: 4.215 MB / 298.7 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.0006584/0.02015, allocations: 0.9393 MB / 336.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.02062, allocations: 342.2 kB / 337.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02062, allocations: 0.6875 kB / 337.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.02081, allocations: 222.6 kB / 337.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.02108, allocations: 44.91 kB / 337.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.02429, allocations: 3.139 MB / 340.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.02439, allocations: 160.8 kB / 340.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.44e-05/0.02446, allocations: 22.3 kB / 340.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.02456, allocations: 96.45 kB / 340.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02456, allocations: 0 / 340.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.04629, allocations: 7.215 MB / 348.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/7.882, allocations: 7.969 kB / 348.1 MB, free: 7.977 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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: 9.521400025114417]