Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.0009978/0.0009978, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001033/0.001033, allocations: 147.5 kB / 24.81 MB, free: 9.27 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 1.085/1.085, allocations: 173.3 MB / 201.4 MB, free: 9.227 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.066e-05, allocations: 2.312 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003362/0.003382, allocations: 3.32 MB / 271.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004703, allocations: 0.787 MB / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.004909, allocations: 11.94 kB / 272.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.005102, allocations: 67.34 kB / 272.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.005381, allocations: 134.8 kB / 272.8 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.005759, allocations: 139.7 kB / 272.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.006267, allocations: 0.5094 MB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.006485, allocations: 121.3 kB / 273.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.00707, allocations: 283.4 kB / 273.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.007235, allocations: 163.5 kB / 274 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.007286, allocations: 48 kB / 274 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.007331, allocations: 48 kB / 274.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.007386, allocations: 95.67 kB / 274.1 MB, free: 448 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.007481, allocations: 159.6 kB / 274.3 MB, free: 288 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.007792, allocations: 315 kB / 274.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.007796, allocations: 4 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.007796, allocations: 3.938 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.007802, allocations: 0 / 274.6 MB, free: 15.96 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007582/0.008561, allocations: 0.7298 MB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.008605, allocations: 8.922 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.008686, allocations: 72.66 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.008938, allocations: 260.8 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.008958, allocations: 25.38 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.008994, allocations: 36.38 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.009354, allocations: 391.9 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.009365, allocations: 3.938 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.009389, allocations: 16 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.009398, allocations: 8 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.009528, allocations: 114.8 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01076, allocations: 1.29 MB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.011, allocations: 147.2 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.01106, allocations: 39.66 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.01108, allocations: 7.984 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.01111, allocations: 37.39 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.01111, allocations: 4 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007684/0.01188, allocations: 368.2 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.01191, allocations: 55.41 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.0121, allocations: 308.1 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.01213, allocations: 29.69 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01224, allocations: 278.8 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.01227, allocations: 63.47 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.01233, allocations: 55.3 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01246, allocations: 0.5156 MB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.0125, allocations: 23.97 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.01259, allocations: 136.5 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01273, allocations: 172.3 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01273, allocations: 0 / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003499/0.01308, allocations: 276.6 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.0131, allocations: 8 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.01311, allocations: 4 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.01344, allocations: 111.3 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.01353, allocations: 39.92 kB / 280.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.01576, allocations: 3.933 MB / 284.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01588, allocations: 39.8 kB / 284.2 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.0159, allocations: 8 kB / 284.2 MB, free: 5.781 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.016, allocations: 172.5 kB / 284.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.01604, allocations: 35.81 kB / 284.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.01607, allocations: 26.11 kB / 284.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01607, allocations: 4 kB / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01607, allocations: 0 / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01608, allocations: 4 kB / 284.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01625, allocations: 205.2 kB / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01626, allocations: 0 / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.01629, allocations: 19.92 kB / 284.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.01653, allocations: 119.2 kB / 284.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.01653, allocations: 0 / 284.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.01859, allocations: 3.894 MB / 288.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01859, allocations: 0 / 288.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01887, allocations: 350.9 kB / 289 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.0189, allocations: 23.84 kB / 289 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.01891, allocations: 11.94 kB / 289 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.01901, allocations: 15.98 kB / 289 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01905, allocations: 15.97 kB / 289 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01906, allocations: 4 kB / 289 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.294e-05/0.01915, allocations: 209 kB / 289.2 MB, free: 400 kB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01915, allocations: 4 kB / 289.3 MB, free: 396 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.01951, allocations: 103.7 kB / 289.4 MB, free: 292 kB / 266.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 (9): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.01963, allocations: 103.2 kB / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.02013, allocations: 0.5022 MB / 290 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02013, allocations: 0 / 290 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.02033, allocations: 411.2 kB / 290.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.0206, allocations: 36.97 kB / 290.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009218/0.02152, allocations: 0.5426 MB / 290.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/0.02158, allocations: 92.3 kB / 291 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.551e-05/0.02165, allocations: 22.3 kB / 291 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.02176, allocations: 110.2 kB / 291.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02176, allocations: 8 kB / 291.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of Templates: time 0.00679/0.02855, allocations: 3.889 MB / 295.1 MB, free: 10.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.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.8856119601987302]