Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001871/0.001871, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001941/0.001941, allocations: 207 kB / 24.48 MB, free: 3.695 MB / 14.72 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 1.635/1.635, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.91 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2741, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004662/0.2788, allocations: 2.758 MB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2804, allocations: 0.7246 MB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.2806, allocations: 11.94 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.2808, allocations: 47.5 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.281, allocations: 107.2 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.2814, allocations: 123.8 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.2819, allocations: 414.4 kB / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2821, allocations: 95.66 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.2823, allocations: 155.4 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.2826, allocations: 171.3 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.2826, allocations: 40 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.2827, allocations: 40 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2828, allocations: 87.69 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.283, allocations: 143.4 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.2835, allocations: 460 kB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.2835, allocations: 7.875 kB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2835, allocations: 0 / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.2835, allocations: 0 / 437.7 MB, free: 1.328 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001339/0.2848, allocations: 0.6014 MB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2849, allocations: 12.03 kB / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.285, allocations: 36.7 kB / 438.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.2854, allocations: 249.8 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2854, allocations: 20.88 kB / 438.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.2855, allocations: 28.38 kB / 438.6 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.2863, allocations: 382.3 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2863, allocations: 0 / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.2863, allocations: 15.94 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2863, allocations: 4 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008303/0.2872, allocations: 281.8 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.289, allocations: 0.9758 MB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.2899, allocations: 246.5 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.2902, allocations: 104.8 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.2902, allocations: 3.984 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.2908, allocations: 229.3 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.2908, allocations: 0 / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002333/0.2931, allocations: 0.5916 MB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.2932, allocations: 106.8 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.2936, allocations: 277.8 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.2936, allocations: 33.7 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2938, allocations: 208 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.2938, allocations: 39.64 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.2939, allocations: 49.94 kB / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2941, allocations: 334.8 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.2945, allocations: 133.9 kB / 442.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.2949, allocations: 291.1 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/0.2957, allocations: 325.9 kB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2957, allocations: 4 kB / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001371/0.297, allocations: 0.5013 MB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.2971, allocations: 40.27 kB / 443.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2971, allocations: 4.219 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003958/0.2975, allocations: 80.8 kB / 443.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.2977, allocations: 63.83 kB / 443.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.3008, allocations: 1.918 MB / 445.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3011, allocations: 55.75 kB / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3012, allocations: 12 kB / 445.9 MB, free: 8.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.3014, allocations: 161.7 kB / 446 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.3014, allocations: 23.86 kB / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.3015, allocations: 29.7 kB / 446.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3015, allocations: 0 / 446.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3015, allocations: 4 kB / 446.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3015, allocations: 4.031 kB / 446.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.3018, allocations: 221 kB / 446.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3018, allocations: 0 / 446.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3019, allocations: 27.91 kB / 446.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.3022, allocations: 84.94 kB / 446.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.3022, allocations: 3.984 kB / 446.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.3048, allocations: 1.836 MB / 448.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3048, allocations: 0 / 448.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3059, allocations: 368.3 kB / 448.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.306, allocations: 31.78 kB / 448.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.306, allocations: 4 kB / 448.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.3063, allocations: 35.95 kB / 448.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.3064, allocations: 19.97 kB / 448.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3064, allocations: 0 / 448.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3066, allocations: 193.2 kB / 448.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3066, allocations: 0 / 448.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.3071, allocations: 83.83 kB / 449 MB, free: 5.363 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.3073, allocations: 111.2 kB / 449.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.3087, allocations: 0.5095 MB / 449.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3087, allocations: 0 / 449.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.3092, allocations: 238.5 kB / 449.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3095, allocations: 52.56 kB / 449.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.3128, allocations: 0.9623 MB / 450.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.3129, allocations: 150.9 kB / 451 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.313, allocations: 23.44 kB / 451 MB, free: 3.227 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.313, allocations: 0 / 451 MB, free: 3.227 MB / 350.1 MB Notification: Performance of Templates: time 0.007775/0.3208, allocations: 4.814 MB / 455.8 MB, free: 14.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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: 7.651330348016927]