Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001558/0.001558, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.00171/0.00171, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 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.434/1.434, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 55.91 kB / 368.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2563, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.0061/0.2624, allocations: 4.481 MB / 425.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.2652, allocations: 1.219 MB / 426.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/0.2657, allocations: 15.94 kB / 426.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.2663, allocations: 146.8 kB / 426.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005561/0.2669, allocations: 202.3 kB / 427 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.2674, allocations: 203.6 kB / 427.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.2683, allocations: 0.7591 MB / 427.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.2687, allocations: 190.6 kB / 428.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.2691, allocations: 286.9 kB / 428.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.2695, allocations: 326.5 kB / 428.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2696, allocations: 71.88 kB / 428.8 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.2697, allocations: 64 kB / 428.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.2699, allocations: 143.5 kB / 429 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.2702, allocations: 338.3 kB / 429.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009322/0.2711, allocations: 0.7519 MB / 430.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2712, allocations: 4 kB / 430.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.2712, allocations: 7.938 kB / 430.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.2712, allocations: 3.984 kB / 430.1 MB, free: 5.906 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001933/0.2731, allocations: 0.9542 MB / 431 MB, free: 4.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2731, allocations: 15.89 kB / 431.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.2733, allocations: 80.47 kB / 431.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.2738, allocations: 410.2 kB / 431.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.2739, allocations: 41.62 kB / 431.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.274, allocations: 56.36 kB / 431.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.275, allocations: 0.5534 MB / 432.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.2751, allocations: 0 / 432.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.2751, allocations: 24 kB / 432.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2751, allocations: 16 kB / 432.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000901/0.276, allocations: 421 kB / 432.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.2792, allocations: 1.813 MB / 434.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/0.2802, allocations: 0.4977 MB / 434.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.2812, allocations: 413.1 kB / 435.3 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.2813, allocations: 8.266 kB / 435.4 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.2818, allocations: 294.4 kB / 435.6 MB, free: 76 kB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.615e-06/0.2818, allocations: 0 / 435.6 MB, free: 76 kB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.004067/0.2859, allocations: 1.306 MB / 436.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.2861, allocations: 243.2 kB / 437.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/0.2868, allocations: 425.9 kB / 437.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.2868, allocations: 37.7 kB / 437.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.2872, allocations: 312.8 kB / 437.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2874, allocations: 146.8 kB / 438.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.2876, allocations: 94.2 kB / 438.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2878, allocations: 362.8 kB / 438.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.2881, allocations: 153 kB / 438.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.2886, allocations: 317.6 kB / 439 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.2894, allocations: 447.2 kB / 439.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2894, allocations: 3.938 kB / 439.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001844/0.2913, allocations: 0.7753 MB / 440.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2913, allocations: 4 kB / 440.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.2913, allocations: 4 kB / 440.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/0.2921, allocations: 228.6 kB / 440.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.2924, allocations: 71.84 kB / 440.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00518/0.2976, allocations: 3.14 MB / 443.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.2981, allocations: 91.58 kB / 443.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.2982, allocations: 20 kB / 443.8 MB, free: 7.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.2985, allocations: 177.7 kB / 443.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.2986, allocations: 47.72 kB / 444 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2987, allocations: 56.86 kB / 444 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2987, allocations: 4 kB / 444 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2987, allocations: 0 / 444 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2987, allocations: 0 / 444 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.301, allocations: 1.281 MB / 445.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.301, allocations: 4 kB / 445.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.3012, allocations: 35.92 kB / 445.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006139/0.3018, allocations: 214.5 kB / 445.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.3018, allocations: 12 kB / 445.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/0.3062, allocations: 3.048 MB / 448.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3062, allocations: 0 / 448.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.3082, allocations: 0.9337 MB / 449.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3083, allocations: 132.8 kB / 449.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.3084, allocations: 12 kB / 449.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.3087, allocations: 36.06 kB / 449.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.3088, allocations: 35.94 kB / 449.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3088, allocations: 15.98 kB / 449.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003415/0.3092, allocations: 303.1 kB / 450.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3092, allocations: 0 / 450.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006327/0.3098, allocations: 187.7 kB / 450.3 MB, free: 0.8203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001472/0.3099, allocations: 115.7 kB / 450.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3114, allocations: 0.6535 MB / 451 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3115, allocations: 4 kB / 451 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.3122, allocations: 409 kB / 451.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3127, allocations: 81.39 kB / 451.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3143, allocations: 0.9333 MB / 452.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.3148, allocations: 0.8629 MB / 453.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3149, allocations: 52.45 kB / 453.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.315, allocations: 31.44 kB / 453.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.315, allocations: 0 / 453.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01527/0.3303, allocations: 7.914 MB / 461.3 MB, free: 5.75 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.830279755406082]