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.00165/0.00165, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001565/0.001565, allocations: 208.6 kB / 23.72 MB, free: 4.391 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001767/0.001767, allocations: 55.91 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2904, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005002/0.2954, allocations: 2.758 MB / 434.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2972, allocations: 0.7207 MB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.2976, allocations: 7.938 kB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2978, allocations: 51.5 kB / 435.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.298, allocations: 107.2 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.2984, allocations: 119.8 kB / 435.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.2989, allocations: 414.4 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.2992, allocations: 91.31 kB / 435.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.2995, allocations: 159.4 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.2997, allocations: 155.2 kB / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.2998, allocations: 40 kB / 436.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.2999, allocations: 40 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.3, allocations: 83.7 kB / 436.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3002, allocations: 147.3 kB / 436.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.3008, allocations: 452.9 kB / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3008, allocations: 0 / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3008, allocations: 0 / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3008, allocations: 0 / 436.9 MB, free: 1.379 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.001334/0.3021, allocations: 0.6169 MB / 437.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3021, allocations: 8.031 kB / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.3022, allocations: 40.69 kB / 437.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.3027, allocations: 249.8 kB / 437.8 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3027, allocations: 16.88 kB / 437.8 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.3027, allocations: 28.38 kB / 437.9 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.3035, allocations: 378.4 kB / 438.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3035, allocations: 0 / 438.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.3036, allocations: 12 kB / 438.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3036, allocations: 8 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.3044, allocations: 285.8 kB / 438.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.3062, allocations: 0.9758 MB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.3071, allocations: 238.6 kB / 439.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.3074, allocations: 104.8 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3074, allocations: 0 / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.3079, allocations: 233.2 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.3079, allocations: 224 / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00234/0.3103, allocations: 0.5916 MB / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.3103, allocations: 114.7 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.3107, allocations: 273.8 kB / 441 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3107, allocations: 33.7 kB / 441.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.3109, allocations: 212 kB / 441.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3109, allocations: 39.64 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.311, allocations: 57.89 kB / 441.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3112, allocations: 330.8 kB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.3116, allocations: 133.9 kB / 441.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.3121, allocations: 299 kB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/0.3128, allocations: 323.5 kB / 442.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3128, allocations: 8 kB / 442.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001277/0.3141, allocations: 0.4897 MB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.3141, allocations: 41.75 kB / 443 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3141, allocations: 4 kB / 443 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.3145, allocations: 80.81 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3147, allocations: 51.89 kB / 443.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.3178, allocations: 1.93 MB / 445 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.3181, allocations: 55.73 kB / 445.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.3181, allocations: 12 kB / 445.1 MB, free: 8.668 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.0001736/0.3183, allocations: 156.5 kB / 445.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.3183, allocations: 23.86 kB / 445.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.3184, allocations: 25.77 kB / 445.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3184, allocations: 4 kB / 445.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.3184, allocations: 0 / 445.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3184, allocations: 0 / 445.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3187, allocations: 225 kB / 445.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3187, allocations: 0 / 445.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3188, allocations: 23.97 kB / 445.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/0.3191, allocations: 84.8 kB / 445.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3191, allocations: 0 / 445.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.3215, allocations: 1.84 MB / 447.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3215, allocations: 4.031 kB / 447.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3226, allocations: 368.5 kB / 447.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.3227, allocations: 27.8 kB / 447.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.3227, allocations: 4 kB / 447.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.3229, allocations: 35.95 kB / 447.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.323, allocations: 23.91 kB / 447.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.323, allocations: 0 / 447.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.3232, allocations: 197.2 kB / 448.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3232, allocations: 0 / 448.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004181/0.3236, allocations: 83.84 kB / 448.2 MB, free: 5.406 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.0001443/0.3238, allocations: 111.1 kB / 448.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3251, allocations: 0.5079 MB / 448.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3251, allocations: 0 / 448.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.3256, allocations: 238.5 kB / 449.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.326, allocations: 44.41 kB / 449.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.3291, allocations: 0.9412 MB / 450 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.3293, allocations: 142.9 kB / 450.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.3294, allocations: 30.27 kB / 450.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.3295, allocations: 19.44 kB / 450.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3295, allocations: 0 / 450.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of Templates: time 0.01022/0.3397, allocations: 4.401 MB / 454.6 MB, free: 14.95 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/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: 4.8243201076984406]