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.001118/0.001118, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.002864, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001001/0.001001, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002467, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8651/0.8651, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1586/1.024, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.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: 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 1.192e-06/1.192e-06, allocations: 0 / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.228e-05, allocations: 2.312 kB / 239.8 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.006364/0.006376, allocations: 3.21 MB / 243 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.007702, allocations: 0.773 MB / 243.8 MB, free: 2.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.007866, allocations: 8 kB / 243.8 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.007995, allocations: 59.42 kB / 243.8 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.008198, allocations: 120.8 kB / 243.9 MB, free: 2.156 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.008425, allocations: 130.9 kB / 244.1 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.008816, allocations: 461.8 kB / 244.5 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.01205, allocations: 115 kB / 244.6 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.01242, allocations: 276.1 kB / 244.9 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.01261, allocations: 143.6 kB / 245 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.01267, allocations: 47.94 kB / 245.1 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.01272, allocations: 44 kB / 245.1 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.01278, allocations: 63.81 kB / 245.2 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.01289, allocations: 117 kB / 245.3 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.01318, allocations: 267 kB / 245.6 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.01319, allocations: 0 / 245.6 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01319, allocations: 0 / 245.6 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.01321, allocations: 1.062 kB / 245.6 MB, free: 0.5273 MB / 234.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.000784/0.01399, allocations: 0.6273 MB / 246.2 MB, free: 15.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.01402, allocations: 8.031 kB / 246.2 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.0141, allocations: 56.89 kB / 246.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.01434, allocations: 199 kB / 246.5 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.01436, allocations: 21.03 kB / 246.5 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.0144, allocations: 32.38 kB / 246.5 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.01475, allocations: 341.1 kB / 246.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.003026/0.01777, allocations: 8.125 kB / 246.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.0178, allocations: 12.38 kB / 246.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.01781, allocations: 16.58 kB / 246.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.01795, allocations: 80.55 kB / 247 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01909, allocations: 0.8994 MB / 247.9 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.0193, allocations: 108.2 kB / 248 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.01934, allocations: 40.77 kB / 248 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.01936, allocations: 7.938 kB / 248 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.01938, allocations: 31.06 kB / 248 MB, free: 13.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.01939, allocations: 4.812 kB / 248 MB, free: 13.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007517/0.02014, allocations: 315.7 kB / 248.4 MB, free: 13.6 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.02016, allocations: 59.34 kB / 248.4 MB, free: 13.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.02033, allocations: 240.9 kB / 248.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.02035, allocations: 25.7 kB / 248.7 MB, free: 13.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.02044, allocations: 212.1 kB / 248.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.02047, allocations: 51.55 kB / 248.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.02054, allocations: 49.67 kB / 249 MB, free: 12.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.02062, allocations: 338.8 kB / 249.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.02066, allocations: 19.98 kB / 249.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.02374, allocations: 106.2 kB / 249.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.02389, allocations: 150.1 kB / 249.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.0239, allocations: 0 / 249.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00033/0.02423, allocations: 224 kB / 249.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.02424, allocations: 11.98 kB / 249.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02425, allocations: 4 kB / 249.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.02454, allocations: 97.08 kB / 249.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.02466, allocations: 43.97 kB / 250 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.02593, allocations: 1.559 MB / 251.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.02605, allocations: 31.77 kB / 251.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.02606, allocations: 8 kB / 251.5 MB, free: 10.18 MB / 250.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 8.721e-05/0.02615, allocations: 121.8 kB / 251.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.02619, allocations: 19.92 kB / 251.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.02622, allocations: 33.75 kB / 251.7 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.02623, allocations: 0 / 251.7 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.02623, allocations: 8 kB / 251.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.02623, allocations: 0 / 251.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.02972, allocations: 383.6 kB / 252.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02972, allocations: 3.938 kB / 252.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.02977, allocations: 19.92 kB / 252.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.0298, allocations: 27.78 kB / 252.2 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.03003, allocations: 100.7 kB / 252.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.03004, allocations: 0 / 252.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.03105, allocations: 1.536 MB / 253.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.03105, allocations: 0 / 253.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.03131, allocations: 247.9 kB / 254 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.03133, allocations: 0 / 254 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.03144, allocations: 24.02 kB / 254.1 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.03148, allocations: 23.84 kB / 254.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.03149, allocations: 4 kB / 254.1 MB, free: 7.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.417e-05/0.03157, allocations: 86.7 kB / 254.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03157, allocations: 0 / 254.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.03194, allocations: 95.8 kB / 254.3 MB, free: 7.328 MB / 250.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 9.388e-05/0.03204, allocations: 76.42 kB / 254.3 MB, free: 7.242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.03235, allocations: 255.2 kB / 254.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.03236, allocations: 4 kB / 254.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.03252, allocations: 191.3 kB / 254.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.03288, allocations: 336.6 kB / 255.1 MB, free: 6.387 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.03864, allocations: 0.5318 MB / 255.6 MB, free: 5.824 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.577e-05/0.0387, allocations: 88.3 kB / 255.7 MB, free: 5.719 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.621e-05/0.03878, allocations: 26.28 kB / 255.7 MB, free: 5.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.0389, allocations: 95.33 kB / 255.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0389, allocations: 0 / 255.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of Templates: time 0.00756/0.04646, allocations: 3.641 MB / 259.5 MB, free: 2.02 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.537933660671115]