Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001729/0.001729, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.89 kB / 378.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2786, allocations: 53.35 MB / 432.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004672/0.2833, allocations: 2.991 MB / 435.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.285, allocations: 0.7674 MB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.2852, allocations: 7.938 kB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.2853, allocations: 47.5 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.2856, allocations: 107.2 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.286, allocations: 123.8 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.2864, allocations: 414.4 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.2867, allocations: 95.66 kB / 436.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.2869, allocations: 159.4 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.2871, allocations: 175.2 kB / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.2872, allocations: 40 kB / 437 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.2873, allocations: 40 kB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.2874, allocations: 79.7 kB / 437.2 MB, free: 2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.2876, allocations: 175.2 kB / 437.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.2881, allocations: 456 kB / 437.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2881, allocations: 0 / 437.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2881, allocations: 4 kB / 437.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.2881, allocations: 0 / 437.8 MB, free: 1.383 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.001408/0.2895, allocations: 0.613 MB / 438.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2896, allocations: 8.031 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.332e-05/0.2897, allocations: 36.7 kB / 438.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.2902, allocations: 253.8 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2902, allocations: 12.88 kB / 438.7 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.2902, allocations: 24.38 kB / 438.7 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.291, allocations: 334.9 kB / 439 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2911, allocations: 0 / 439 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.2911, allocations: 12 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2911, allocations: 8 kB / 439.1 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/0.292, allocations: 285.8 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.2941, allocations: 1.104 MB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.2951, allocations: 242.5 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.2954, allocations: 96.78 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.2955, allocations: 4 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/0.296, allocations: 185.4 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.296, allocations: 0 / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002601/0.2986, allocations: 0.5916 MB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.2986, allocations: 110.8 kB / 441.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.299, allocations: 293.8 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.299, allocations: 25.7 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.2992, allocations: 200 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.2993, allocations: 47.83 kB / 442.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2994, allocations: 53.89 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2995, allocations: 338.8 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.2999, allocations: 112.2 kB / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.3004, allocations: 206 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/0.3012, allocations: 326.9 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3012, allocations: 0 / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001439/0.3026, allocations: 483.7 kB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.3027, allocations: 36.36 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.3027, allocations: 0 / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.3031, allocations: 92.86 kB / 443.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.3034, allocations: 43.91 kB / 443.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.3067, allocations: 1.968 MB / 445.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.307, allocations: 59.86 kB / 445.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3071, allocations: 8 kB / 445.9 MB, free: 8.773 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.0001873/0.3072, allocations: 149.7 kB / 446.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.3073, allocations: 31.78 kB / 446.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.3074, allocations: 25.78 kB / 446.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3074, allocations: 0 / 446.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.3074, allocations: 4 kB / 446.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.3074, allocations: 4.109 kB / 446.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.3077, allocations: 300.4 kB / 446.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3077, allocations: 0 / 446.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3078, allocations: 23.97 kB / 446.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.3081, allocations: 84.83 kB / 446.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3082, allocations: 4 kB / 446.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.3109, allocations: 1.875 MB / 448.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3109, allocations: 0 / 448.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.3121, allocations: 373.6 kB / 448.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.3121, allocations: 23.84 kB / 448.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.3122, allocations: 8 kB / 448.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.3124, allocations: 35.91 kB / 448.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.3125, allocations: 16.09 kB / 448.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.3125, allocations: 11.98 kB / 448.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.3127, allocations: 201.2 kB / 449.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3127, allocations: 4 kB / 449.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.3132, allocations: 75.84 kB / 449.1 MB, free: 5.359 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.0001461/0.3133, allocations: 103.2 kB / 449.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.3148, allocations: 493.8 kB / 449.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3148, allocations: 0 / 449.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3153, allocations: 239.2 kB / 449.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3157, allocations: 48.45 kB / 450 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.3191, allocations: 0.9404 MB / 450.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.3195, allocations: 0.7558 MB / 451.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.3196, allocations: 30.28 kB / 451.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.3197, allocations: 23.44 kB / 451.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3197, allocations: 0 / 451.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of Templates: time 0.009639/0.3293, allocations: 4.336 MB / 456.1 MB, free: 14.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.67807790171355]