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.001859/0.001859, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001914/0.001914, allocations: 156.5 kB / 24.48 MB, free: 3.461 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.465/1.465, allocations: 173.4 MB / 201.1 MB, free: 12.69 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 46.67 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09372, allocations: 52.17 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004613/0.09833, allocations: 2.946 MB / 374.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.09969, allocations: 0.7362 MB / 375.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.0999, allocations: 7.938 kB / 375.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1001, allocations: 59.42 kB / 375.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1003, allocations: 123 kB / 375.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1006, allocations: 123.8 kB / 375.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.101, allocations: 434.3 kB / 376 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.1013, allocations: 112.4 kB / 376.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.1015, allocations: 175.4 kB / 376.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1017, allocations: 159.2 kB / 376.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.1018, allocations: 48 kB / 376.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.1018, allocations: 47.94 kB / 376.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.1019, allocations: 79.77 kB / 376.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1021, allocations: 163.2 kB / 376.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.1026, allocations: 0.4981 MB / 377.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1026, allocations: 0 / 377.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1026, allocations: 4 kB / 377.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1026, allocations: 0 / 377.3 MB, free: 1.605 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.001084/0.1037, allocations: 0.587 MB / 377.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1037, allocations: 8.922 kB / 377.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.1038, allocations: 44.66 kB / 377.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.1042, allocations: 249.9 kB / 378.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1042, allocations: 24.97 kB / 378.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.1043, allocations: 32.38 kB / 378.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006765/0.105, allocations: 430.4 kB / 378.6 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.105, allocations: 0 / 378.6 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.105, allocations: 16 kB / 378.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.105, allocations: 8 kB / 378.7 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.1056, allocations: 270.6 kB / 378.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.1075, allocations: 1.063 MB / 380 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.1081, allocations: 206.6 kB / 380.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1083, allocations: 92.75 kB / 380.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1083, allocations: 0 / 380.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1084, allocations: 38.56 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 9.22e-07/0.1084, allocations: 4 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002133/0.1105, allocations: 0.5595 MB / 380.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1105, allocations: 51.41 kB / 380.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.1109, allocations: 277.8 kB / 381.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1109, allocations: 25.7 kB / 381.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.1111, allocations: 232.1 kB / 381.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.1111, allocations: 55.53 kB / 381.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.1112, allocations: 49.7 kB / 381.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1114, allocations: 330.8 kB / 381.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.1116, allocations: 83.97 kB / 382 MB, free: 12.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.1119, allocations: 154.2 kB / 382.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.1123, allocations: 246.1 kB / 382.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1123, allocations: 4 kB / 382.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009962/0.1133, allocations: 413 kB / 382.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1134, allocations: 4 kB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1134, allocations: 4 kB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.1138, allocations: 104.8 kB / 382.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.114, allocations: 43.91 kB / 382.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.1171, allocations: 2.016 MB / 384.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1173, allocations: 35.66 kB / 385 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1173, allocations: 19.98 kB / 385 MB, free: 9.484 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.0001834/0.1175, allocations: 153.8 kB / 385.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.1176, allocations: 19.86 kB / 385.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.1176, allocations: 29.77 kB / 385.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1176, allocations: 0 / 385.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1176, allocations: 4 kB / 385.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1176, allocations: 3.938 kB / 385.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.1188, allocations: 0.6083 MB / 385.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1188, allocations: 3.984 kB / 385.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.1189, allocations: 19.94 kB / 385.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.1192, allocations: 92.78 kB / 385.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.1193, allocations: 12 kB / 385.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.122, allocations: 2.013 MB / 387.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.122, allocations: 0 / 387.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.1229, allocations: 412.4 kB / 388.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.1229, allocations: 23.78 kB / 388.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.123, allocations: 8 kB / 388.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1232, allocations: 15.98 kB / 388.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.1232, allocations: 19.91 kB / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1232, allocations: 4 kB / 388.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.1234, allocations: 189.2 kB / 388.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1234, allocations: 0 / 388.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.1239, allocations: 95.84 kB / 388.7 MB, free: 5.609 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.0001169/0.124, allocations: 99.23 kB / 388.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007191/0.1247, allocations: 342.5 kB / 389.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1247, allocations: 0 / 389.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.1251, allocations: 230 kB / 389.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1254, allocations: 32.86 kB / 389.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1265, allocations: 0.5515 MB / 389.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.1266, allocations: 168.8 kB / 390.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.1267, allocations: 18.3 kB / 390.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.1268, allocations: 20.5 kB / 390.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1268, allocations: 0 / 390.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of Templates: time 0.007186/0.1339, allocations: 3.199 MB / 393.3 MB, free: 0.9336 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] 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: 4.336332721984945]