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.001355/0.001355, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 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.001451/0.001451, allocations: 192.8 kB / 23.71 MB, free: 4.406 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.582/1.582, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.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.001519/0.001519, allocations: 47.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2744, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004903/0.2793, allocations: 2.954 MB / 426 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2807, allocations: 0.7284 MB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2809, allocations: 11.88 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.2811, allocations: 63.42 kB / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.2814, allocations: 115 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.2817, allocations: 123.8 kB / 427.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.2822, allocations: 438.2 kB / 427.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.2824, allocations: 114.9 kB / 427.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.2827, allocations: 167.4 kB / 427.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.2829, allocations: 151.2 kB / 427.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/0.283, allocations: 44 kB / 428 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.2831, allocations: 48 kB / 428 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.2831, allocations: 87.64 kB / 428.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2833, allocations: 163.2 kB / 428.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.2839, allocations: 0.5017 MB / 428.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2839, allocations: 0 / 428.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2839, allocations: 0 / 428.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2839, allocations: 0 / 428.8 MB, free: 8.766 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.00111/0.285, allocations: 0.5948 MB / 429.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.285, allocations: 12.03 kB / 429.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.2851, allocations: 44.66 kB / 429.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.2856, allocations: 241.9 kB / 429.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2856, allocations: 25.03 kB / 429.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.2856, allocations: 32.38 kB / 429.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.2864, allocations: 430.4 kB / 430.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2864, allocations: 0 / 430.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.2864, allocations: 12 kB / 430.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2865, allocations: 8 kB / 430.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.2871, allocations: 274.5 kB / 430.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.2891, allocations: 1.067 MB / 431.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.2897, allocations: 210.6 kB / 431.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.29, allocations: 88.75 kB / 431.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.29, allocations: 4 kB / 431.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.29, allocations: 34.56 kB / 431.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.29, allocations: 4 kB / 431.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002169/0.2922, allocations: 0.5564 MB / 432.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2922, allocations: 51.41 kB / 432.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.2925, allocations: 281.7 kB / 432.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2926, allocations: 29.64 kB / 432.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2927, allocations: 220.2 kB / 432.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.2928, allocations: 51.59 kB / 433 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.2929, allocations: 45.7 kB / 433 MB, free: 4.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.293, allocations: 338.8 kB / 433.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.2932, allocations: 79.95 kB / 433.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.2935, allocations: 158.3 kB / 433.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.294, allocations: 248.9 kB / 433.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.294, allocations: 0 / 433.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000997/0.295, allocations: 406 kB / 434.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.295, allocations: 11.94 kB / 434.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.295, allocations: 0 / 434.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.2955, allocations: 112.8 kB / 434.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2956, allocations: 35.98 kB / 434.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.2987, allocations: 2.032 MB / 436.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.299, allocations: 39.77 kB / 436.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.299, allocations: 12 kB / 436.5 MB, free: 0.6367 MB / 334.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.0001776/0.2992, allocations: 153.8 kB / 436.6 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.2992, allocations: 23.86 kB / 436.7 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.2993, allocations: 25.77 kB / 436.7 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.2993, allocations: 4 kB / 436.7 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2993, allocations: 0 / 436.7 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2993, allocations: 3.938 kB / 436.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3006, allocations: 0.6083 MB / 437.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3006, allocations: 0 / 437.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.3006, allocations: 15.94 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/0.301, allocations: 112.7 kB / 437.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.301, allocations: 0 / 437.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.304, allocations: 2.017 MB / 439.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.304, allocations: 3.938 kB / 439.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.3049, allocations: 403.9 kB / 439.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.3049, allocations: 35.78 kB / 439.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3049, allocations: 7.938 kB / 439.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3051, allocations: 19.98 kB / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.3052, allocations: 15.97 kB / 439.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3052, allocations: 7.938 kB / 439.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.3054, allocations: 181.2 kB / 440.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3054, allocations: 4 kB / 440.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006097/0.306, allocations: 91.78 kB / 440.2 MB, free: 12.75 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.0001272/0.3062, allocations: 107.2 kB / 440.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008389/0.307, allocations: 338.1 kB / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.307, allocations: 4 kB / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.3074, allocations: 218.5 kB / 440.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3077, allocations: 36.42 kB / 440.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3089, allocations: 0.5441 MB / 441.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.309, allocations: 164.8 kB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.3091, allocations: 18.3 kB / 441.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.3092, allocations: 23.42 kB / 441.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3092, allocations: 0 / 441.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Templates: time 0.008194/0.3174, allocations: 3.558 MB / 445.2 MB, free: 7.73 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/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.771402532234788]