Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001731/0.001731, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.001476/0.001476, allocations: 212.6 kB / 22.99 MB, free: 5.609 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.444/1.444, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3058, allocations: 53.33 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004722/0.3105, allocations: 2.828 MB / 432.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.312, allocations: 0.6817 MB / 433.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.3122, allocations: 7.938 kB / 433.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.3124, allocations: 43.58 kB / 433.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.3126, allocations: 99.17 kB / 433.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.313, allocations: 83.83 kB / 433.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.3134, allocations: 378.5 kB / 433.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.3137, allocations: 94.88 kB / 434 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.3139, allocations: 139.5 kB / 434.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3141, allocations: 167.3 kB / 434.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.3142, allocations: 36 kB / 434.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.3143, allocations: 32 kB / 434.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.3143, allocations: 75.75 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3145, allocations: 163.2 kB / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.3151, allocations: 383.7 kB / 435 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3151, allocations: 0 / 435 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3151, allocations: 0 / 435 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3151, allocations: 4 kB / 435 MB, free: 2.34 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001483/0.3166, allocations: 0.6573 MB / 435.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3166, allocations: 12.03 kB / 435.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.3167, allocations: 36.7 kB / 435.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.3171, allocations: 276.8 kB / 436 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.3172, allocations: 16.94 kB / 436 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.3172, allocations: 24.38 kB / 436 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.3179, allocations: 307.7 kB / 436.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3179, allocations: 0 / 436.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.318, allocations: 11.98 kB / 436.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.318, allocations: 4 kB / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008373/0.3188, allocations: 257.5 kB / 436.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.3209, allocations: 1.086 MB / 437.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.3217, allocations: 206.5 kB / 437.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.322, allocations: 84.72 kB / 438 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.322, allocations: 8 kB / 438 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005175/0.3226, allocations: 165.9 kB / 438.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.3226, allocations: 0 / 438.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00217/0.3247, allocations: 0.5107 MB / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3248, allocations: 106.8 kB / 438.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.3253, allocations: 290.6 kB / 439 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3253, allocations: 25.7 kB / 439 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3255, allocations: 196 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.3256, allocations: 43.67 kB / 439.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3257, allocations: 61.89 kB / 439.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3259, allocations: 330.8 kB / 439.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.3264, allocations: 92.16 kB / 439.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.3269, allocations: 206 kB / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/0.3278, allocations: 308.7 kB / 440.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.3278, allocations: 7.938 kB / 440.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001724/0.3295, allocations: 415.8 kB / 440.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.3296, allocations: 37.7 kB / 440.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3296, allocations: 8.094 kB / 440.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/0.3301, allocations: 72.73 kB / 440.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.3305, allocations: 47.91 kB / 440.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.3344, allocations: 1.716 MB / 442.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.3349, allocations: 51.75 kB / 442.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.335, allocations: 15.98 kB / 442.6 MB, free: 10.14 MB / 350.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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.3353, allocations: 149.7 kB / 442.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3353, allocations: 27.81 kB / 442.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.567e-05/0.3354, allocations: 29.89 kB / 442.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3354, allocations: 0 / 442.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3354, allocations: 4 kB / 442.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3354, allocations: 4 kB / 442.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.3359, allocations: 301.4 kB / 443.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3359, allocations: 0 / 443.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3361, allocations: 23.92 kB / 443.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.3365, allocations: 68.8 kB / 443.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3365, allocations: 0 / 443.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0037/0.3402, allocations: 1.711 MB / 444.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3402, allocations: 0 / 444.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.3419, allocations: 313.5 kB / 445.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.3422, allocations: 113.1 kB / 445.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.3422, allocations: 8 kB / 445.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.3426, allocations: 27.97 kB / 445.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3428, allocations: 27.97 kB / 445.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.3428, allocations: 3.984 kB / 445.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.3431, allocations: 201.9 kB / 445.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3431, allocations: 3.938 kB / 445.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006611/0.3438, allocations: 87.83 kB / 445.7 MB, free: 6.82 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.344, allocations: 99.25 kB / 445.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.3456, allocations: 402.1 kB / 446.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3456, allocations: 3.938 kB / 446.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.3463, allocations: 222.5 kB / 446.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.3468, allocations: 41.31 kB / 446.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3484, allocations: 467.6 kB / 446.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.3489, allocations: 0.7557 MB / 447.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.3491, allocations: 26.28 kB / 447.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.3492, allocations: 19.44 kB / 447.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3492, allocations: 4 kB / 447.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of Templates: time 0.01549/0.3647, allocations: 4.357 MB / 452.1 MB, free: 400 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.80328965280205]