Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001604/0.001604, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001878/0.001878, allocations: 184.2 kB / 23.7 MB, free: 4.191 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.473/1.473, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 51.92 kB / 370.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2779, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004751/0.2826, allocations: 2.725 MB / 425.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2842, allocations: 0.7168 MB / 426.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.2844, allocations: 7.938 kB / 426.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.2846, allocations: 51.5 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.2849, allocations: 99.19 kB / 426.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.2853, allocations: 119.8 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.2859, allocations: 418.4 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.2861, allocations: 87.67 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.2864, allocations: 151.5 kB / 427.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.2866, allocations: 159.2 kB / 427.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-05/0.2867, allocations: 40 kB / 427.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.2868, allocations: 40 kB / 427.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.2869, allocations: 83.69 kB / 427.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.2871, allocations: 147.3 kB / 427.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.2876, allocations: 459.5 kB / 428.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2876, allocations: 0 / 428.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2876, allocations: 0 / 428.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2876, allocations: 0 / 428.4 MB, free: 9.199 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.001502/0.2891, allocations: 0.6053 MB / 429 MB, free: 8.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2892, allocations: 8.031 kB / 429 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.2893, allocations: 32.75 kB / 429 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.2897, allocations: 249.8 kB / 429.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2897, allocations: 24.8 kB / 429.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.2898, allocations: 24.38 kB / 429.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.2906, allocations: 374.4 kB / 429.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2906, allocations: 4 kB / 429.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.2906, allocations: 12 kB / 429.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2906, allocations: 8 kB / 429.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.2915, allocations: 281.8 kB / 430 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.2934, allocations: 0.9836 MB / 431 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/0.2943, allocations: 234.6 kB / 431.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.2946, allocations: 104.9 kB / 431.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2946, allocations: 4 kB / 431.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005267/0.2952, allocations: 237.2 kB / 431.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2952, allocations: 0 / 431.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002415/0.2976, allocations: 0.5939 MB / 432.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.2977, allocations: 106.8 kB / 432.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.298, allocations: 277.8 kB / 432.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.298, allocations: 33.7 kB / 432.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2982, allocations: 204 kB / 432.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.2982, allocations: 43.69 kB / 432.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.2983, allocations: 49.89 kB / 432.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2985, allocations: 334.8 kB / 433.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.2989, allocations: 137.9 kB / 433.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.2994, allocations: 290.3 kB / 433.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.3002, allocations: 320.6 kB / 433.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3002, allocations: 0 / 433.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001378/0.3016, allocations: 0.5041 MB / 434.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.3016, allocations: 29.7 kB / 434.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3016, allocations: 4 kB / 434.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/0.302, allocations: 88.86 kB / 434.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.3023, allocations: 51.89 kB / 434.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.3054, allocations: 1.923 MB / 436.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.3057, allocations: 59.81 kB / 436.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.3057, allocations: 12 kB / 436.5 MB, free: 0.5156 MB / 334.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.0001712/0.3059, allocations: 153.2 kB / 436.7 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.306, allocations: 23.86 kB / 436.7 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.306, allocations: 25.81 kB / 436.7 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.306, allocations: 4 kB / 436.7 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.306, allocations: 3.984 kB / 436.7 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.306, allocations: 0 / 436.7 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3063, allocations: 229.1 kB / 437 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3063, allocations: 0 / 437 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3064, allocations: 15.98 kB / 437 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.3067, allocations: 88.73 kB / 437.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3068, allocations: 8.062 kB / 437.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.3096, allocations: 1.84 MB / 438.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3096, allocations: 0 / 438.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3107, allocations: 373.6 kB / 439.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3107, allocations: 27.78 kB / 439.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3108, allocations: 8 kB / 439.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.311, allocations: 23.97 kB / 439.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3111, allocations: 23.95 kB / 439.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3111, allocations: 8 kB / 439.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.3113, allocations: 189.2 kB / 439.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3113, allocations: 0 / 439.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.3117, allocations: 83.83 kB / 439.6 MB, free: 13.25 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.0001383/0.3119, allocations: 107.2 kB / 439.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.3133, allocations: 0.5112 MB / 440.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3133, allocations: 0 / 440.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.3139, allocations: 235.2 kB / 440.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3142, allocations: 48.64 kB / 440.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.3175, allocations: 0.9392 MB / 441.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3176, allocations: 150.9 kB / 441.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.3177, allocations: 26.28 kB / 441.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.3178, allocations: 19.44 kB / 441.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3178, allocations: 0 / 441.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Templates: time 0.009294/0.3271, allocations: 4.371 MB / 446 MB, free: 6.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.788070496171713]