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.0008732/0.0008732, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001373/0.001373, allocations: 169.4 kB / 24.82 MB, free: 8.938 MB / 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 0.9907/0.9907, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.623e-06/1.623e-06, allocations: 0 / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.396e-05, allocations: 6.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002958/0.002972, allocations: 3.159 MB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.004011, allocations: 0.7945 MB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.004151, allocations: 7.938 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.00429, allocations: 67.42 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.004441, allocations: 118.9 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.004711, allocations: 131.7 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.005034, allocations: 462 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.005229, allocations: 112.5 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.005558, allocations: 259.5 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.005726, allocations: 139.6 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.005774, allocations: 44 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.005845, allocations: 44 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.005893, allocations: 95.66 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.00598, allocations: 135.6 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.006256, allocations: 290.9 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006259, allocations: 0 / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00626, allocations: 0 / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006264, allocations: 0 / 279.3 MB, free: 11.36 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.0006332/0.006897, allocations: 0.6985 MB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.006929, allocations: 8.031 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.007065, allocations: 68.7 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.007292, allocations: 259.9 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.007307, allocations: 21.03 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.007336, allocations: 32.38 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.007633, allocations: 333 kB / 280.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.007641, allocations: 4.188 kB / 280.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.00766, allocations: 16.31 kB / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.007669, allocations: 11.94 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.007784, allocations: 96.45 kB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.008823, allocations: 1.139 MB / 281.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.009008, allocations: 115.3 kB / 282 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.009054, allocations: 47.59 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.009071, allocations: 4 kB / 282.1 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.009092, allocations: 37.39 kB / 282.1 MB, free: 8.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.009093, allocations: 0 / 282.1 MB, free: 8.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006443/0.009737, allocations: 352.7 kB / 282.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.009758, allocations: 59.39 kB / 282.5 MB, free: 7.879 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.009917, allocations: 304 kB / 282.8 MB, free: 7.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.009932, allocations: 29.7 kB / 282.9 MB, free: 7.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01004, allocations: 266.9 kB / 283.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.01006, allocations: 59.5 kB / 283.2 MB, free: 7.203 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.01012, allocations: 55.34 kB / 283.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01023, allocations: 0.5001 MB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.01026, allocations: 31.97 kB / 283.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.01034, allocations: 144.1 kB / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.01047, allocations: 178 kB / 284.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01047, allocations: 0 / 284.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002919/0.01076, allocations: 260.8 kB / 284.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01078, allocations: 8 kB / 284.3 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01078, allocations: 0 / 284.3 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.01103, allocations: 107.6 kB / 284.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.01111, allocations: 35.92 kB / 284.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.01237, allocations: 2.238 MB / 286.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.0125, allocations: 35.77 kB / 286.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.01251, allocations: 4 kB / 286.8 MB, free: 3.383 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 8.859e-05/0.0126, allocations: 180.5 kB / 286.9 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01263, allocations: 27.86 kB / 287 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.01266, allocations: 29.7 kB / 287 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01266, allocations: 0 / 287 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01266, allocations: 0 / 287 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01266, allocations: 0 / 287 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.01313, allocations: 0.5013 MB / 287.5 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.01314, allocations: 0 / 287.5 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.01317, allocations: 12 kB / 287.5 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001946/0.01337, allocations: 103.6 kB / 287.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.01337, allocations: 4 kB / 287.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.01457, allocations: 2.216 MB / 289.8 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01457, allocations: 4 kB / 289.8 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.01484, allocations: 327.7 kB / 290.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.01487, allocations: 35.8 kB / 290.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.01489, allocations: 8 kB / 290.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.01497, allocations: 15.98 kB / 290.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.015, allocations: 19.91 kB / 290.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.01501, allocations: 0 / 290.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.402e-05/0.01509, allocations: 201.1 kB / 290.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01509, allocations: 0 / 290.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.01538, allocations: 95.78 kB / 290.5 MB, free: 15.43 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 7.233e-05/0.01545, allocations: 99.25 kB / 290.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.01574, allocations: 304.8 kB / 290.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01575, allocations: 0 / 290.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.01589, allocations: 253.2 kB / 291.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.01612, allocations: 40.7 kB / 291.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.01688, allocations: 0.5063 MB / 291.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.427e-05/0.01693, allocations: 96.23 kB / 291.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.612e-05/0.01699, allocations: 18.3 kB / 291.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.01709, allocations: 114.2 kB / 291.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01709, allocations: 0 / 291.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Templates: time 0.005205/0.02229, allocations: 3.482 MB / 295.4 MB, free: 10.5 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.714574972167611]