Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001353/0.001353, allocations: 114.9 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.001415/0.001415, allocations: 186 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.437/1.437, allocations: 225.6 MB / 250.8 MB, free: 13.42 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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 47.92 kB / 368.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3231, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004625/0.3278, allocations: 2.77 MB / 423.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3292, allocations: 0.6817 MB / 424.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.3294, allocations: 8 kB / 424.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.3296, allocations: 39.58 kB / 424.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3298, allocations: 87.27 kB / 424.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.3301, allocations: 95.81 kB / 424.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.3306, allocations: 350.5 kB / 424.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3308, allocations: 64.72 kB / 425 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.3309, allocations: 131.5 kB / 425.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.3311, allocations: 151.4 kB / 425.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.3312, allocations: 28 kB / 425.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.3312, allocations: 28 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.3313, allocations: 67.7 kB / 425.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.3315, allocations: 139.3 kB / 425.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.3319, allocations: 320 kB / 425.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3319, allocations: 0 / 425.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3319, allocations: 4 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3319, allocations: 0 / 425.8 MB, free: 10.16 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00132/0.3332, allocations: 0.6493 MB / 426.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3333, allocations: 8.031 kB / 426.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.3333, allocations: 40.69 kB / 426.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.3337, allocations: 267.9 kB / 426.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.3338, allocations: 20.81 kB / 426.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.3338, allocations: 16.38 kB / 426.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.3345, allocations: 285.8 kB / 427.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3346, allocations: 0 / 427.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3346, allocations: 8 kB / 427.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3346, allocations: 4 kB / 427.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/0.3354, allocations: 245.6 kB / 427.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.337, allocations: 0.8987 MB / 428.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3387, allocations: 443.3 kB / 428.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.339, allocations: 84.78 kB / 428.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.339, allocations: 11.98 kB / 428.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.3395, allocations: 169.8 kB / 429 MB, free: 6.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3395, allocations: 0 / 429 MB, free: 6.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002113/0.3416, allocations: 0.5694 MB / 429.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.3417, allocations: 106.8 kB / 429.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.342, allocations: 274.7 kB / 429.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3421, allocations: 25.7 kB / 429.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3422, allocations: 188 kB / 430.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.3423, allocations: 31.73 kB / 430.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3424, allocations: 53.66 kB / 430.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3425, allocations: 334.8 kB / 430.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.3429, allocations: 95.92 kB / 430.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.3433, allocations: 201.6 kB / 430.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.344, allocations: 301.8 kB / 431.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.344, allocations: 0 / 431.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001179/0.3452, allocations: 430 kB / 431.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.3452, allocations: 41.75 kB / 431.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3452, allocations: 7.938 kB / 431.6 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.3455, allocations: 52.83 kB / 431.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3458, allocations: 55.89 kB / 431.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.3482, allocations: 1.613 MB / 433.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.3486, allocations: 59.73 kB / 433.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.3486, allocations: 12 kB / 433.4 MB, free: 2.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.3488, allocations: 142.2 kB / 433.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.3488, allocations: 27.8 kB / 433.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.3488, allocations: 25.7 kB / 433.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3488, allocations: 0 / 433.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3489, allocations: 0 / 433.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3489, allocations: 0 / 433.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3502, allocations: 0.6512 MB / 434.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3502, allocations: 0 / 434.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3504, allocations: 23.97 kB / 434.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.3506, allocations: 56.81 kB / 434.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3506, allocations: 8 kB / 434.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.3527, allocations: 1.597 MB / 435.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3527, allocations: 0 / 435.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3537, allocations: 396 kB / 436.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.3538, allocations: 105.1 kB / 436.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.3538, allocations: 0 / 436.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.3541, allocations: 31.91 kB / 436.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.3542, allocations: 23.97 kB / 436.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3542, allocations: 4 kB / 436.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3544, allocations: 197.9 kB / 436.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3544, allocations: 0 / 436.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.3548, allocations: 63.89 kB / 436.7 MB, free: 14.48 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.355, allocations: 104 kB / 436.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.356, allocations: 389.7 kB / 437.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.356, allocations: 0 / 437.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.3564, allocations: 203.4 kB / 437.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3568, allocations: 47.47 kB / 437.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3579, allocations: 454 kB / 437.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3582, allocations: 0.7479 MB / 438.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3583, allocations: 26.28 kB / 438.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.3584, allocations: 19.62 kB / 438.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3584, allocations: 0 / 438.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Templates: time 0.008352/0.3668, allocations: 3.632 MB / 442.3 MB, free: 8.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.581799264997244]