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.001777/0.001777, allocations: 96.31 kB / 20.96 MB, free: 3.59 MB / 18.57 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.002152/0.002152, allocations: 157.7 kB / 24.26 MB, free: 300 kB / 18.57 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.514/1.514, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.889e-05, allocations: 2.312 kB / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.0053/0.005339, allocations: 2.974 MB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.007155, allocations: 0.779 MB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.007446, allocations: 11.94 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.007684, allocations: 63.36 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.008038, allocations: 115 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.008479, allocations: 135.8 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007272/0.009206, allocations: 465.9 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.009486, allocations: 108.4 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.01006, allocations: 263.4 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.01032, allocations: 135.6 kB / 277.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.01039, allocations: 40 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.0105, allocations: 48 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.0106, allocations: 87.67 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.01078, allocations: 135.7 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.01149, allocations: 0.5179 MB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01149, allocations: 0 / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01149, allocations: 0 / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.01151, allocations: 0 / 278.2 MB, free: 11.89 MB / 266.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.001602/0.01311, allocations: 0.6025 MB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.01315, allocations: 12.03 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.01343, allocations: 72.7 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.01396, allocations: 257.1 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.01399, allocations: 21.03 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.01405, allocations: 32.38 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.01486, allocations: 426.7 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01488, allocations: 4.172 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.01491, allocations: 12.38 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.01493, allocations: 11.94 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.0156, allocations: 274.4 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.01783, allocations: 1.083 MB / 281 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.01845, allocations: 202.7 kB / 281.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.01868, allocations: 84.81 kB / 281.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01871, allocations: 4 kB / 281.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.01875, allocations: 38.5 kB / 281.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.01876, allocations: 0 / 281.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.002269/0.02102, allocations: 0.5642 MB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.02107, allocations: 55.41 kB / 281.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.02142, allocations: 273.8 kB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.02146, allocations: 33.7 kB / 282.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.02166, allocations: 224.1 kB / 282.5 MB, free: 7.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.02172, allocations: 55.48 kB / 282.5 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.02181, allocations: 45.7 kB / 282.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.022, allocations: 334.8 kB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.02223, allocations: 83.95 kB / 283 MB, free: 6.918 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.02253, allocations: 162.1 kB / 283.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.02305, allocations: 243.7 kB / 283.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.02306, allocations: 0 / 283.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001098/0.02416, allocations: 418 kB / 283.8 MB, free: 6.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.02418, allocations: 8 kB / 283.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.02418, allocations: 0 / 283.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007854/0.02497, allocations: 168.8 kB / 283.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.02513, allocations: 43.92 kB / 284 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.02873, allocations: 2.035 MB / 286 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.02896, allocations: 31.81 kB / 286.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.02898, allocations: 12 kB / 286.1 MB, free: 3.641 MB / 266.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.0001973/0.02918, allocations: 149.7 kB / 286.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.02926, allocations: 39.88 kB / 286.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.02932, allocations: 25.77 kB / 286.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.02932, allocations: 4 kB / 286.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.02932, allocations: 0 / 286.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.02933, allocations: 0 / 286.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.03074, allocations: 0.6199 MB / 286.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03074, allocations: 0 / 286.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.03082, allocations: 15.98 kB / 286.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006952/0.03152, allocations: 160.7 kB / 287.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.03154, allocations: 4 kB / 287.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.03474, allocations: 2.02 MB / 289.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03475, allocations: 0 / 289.1 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.03572, allocations: 415.9 kB / 289.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.03579, allocations: 27.91 kB / 289.5 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.03583, allocations: 3.938 kB / 289.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.03604, allocations: 27.92 kB / 289.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.0361, allocations: 7.984 kB / 289.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.03612, allocations: 8 kB / 289.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.03635, allocations: 189.2 kB / 289.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03635, allocations: 0 / 289.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005335/0.03688, allocations: 95.78 kB / 289.9 MB, free: 15.67 MB / 282.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.0001523/0.03704, allocations: 103.2 kB / 290 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008191/0.03785, allocations: 341.6 kB / 290.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.03786, allocations: 0 / 290.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.03827, allocations: 226.4 kB / 290.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.03868, allocations: 44.95 kB / 290.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.03996, allocations: 0.5439 MB / 291.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.04016, allocations: 168.8 kB / 291.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.501e-05/0.04025, allocations: 22.28 kB / 291.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.04031, allocations: 20.5 kB / 291.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.04031, allocations: 0 / 291.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of Templates: time 0.008308/0.04862, allocations: 3.214 MB / 294.5 MB, free: 10.97 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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: 4.485008738003671]