Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001785/0.001785, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.00209/0.00209, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 51.92 kB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1014, allocations: 53.33 MB / 427.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004815/0.1062, allocations: 2.81 MB / 430.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1077, allocations: 0.6778 MB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.108, allocations: 7.938 kB / 431 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1082, allocations: 39.58 kB / 431 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.1085, allocations: 95.19 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1089, allocations: 91.81 kB / 431.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.1094, allocations: 374.5 kB / 431.6 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.1097, allocations: 90.94 kB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.198/0.3077, allocations: 144.2 kB / 431.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.308, allocations: 163.3 kB / 432 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.3081, allocations: 34.06 kB / 432 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.3082, allocations: 34.19 kB / 432 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.3083, allocations: 76.45 kB / 432.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.3084, allocations: 164.9 kB / 432.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.3089, allocations: 377.6 kB / 432.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3089, allocations: 0 / 432.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3089, allocations: 0.5 kB / 432.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3089, allocations: 2.5 kB / 432.7 MB, free: 8.621 MB / 350.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.001234/0.3102, allocations: 0.6612 MB / 433.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3102, allocations: 9.219 kB / 433.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.3103, allocations: 38.67 kB / 433.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3106, allocations: 274.6 kB / 433.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3106, allocations: 17.78 kB / 433.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.3107, allocations: 26 kB / 433.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.3113, allocations: 302.9 kB / 434 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3113, allocations: 5.25 kB / 434 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.3114, allocations: 12.81 kB / 434 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3114, allocations: 9 kB / 434 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.3122, allocations: 247.5 kB / 434.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.3137, allocations: 1.092 MB / 435.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/0.3145, allocations: 207.6 kB / 435.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.3149, allocations: 85.84 kB / 435.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3149, allocations: 2.969 kB / 435.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.3154, allocations: 172.7 kB / 435.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.3154, allocations: 0 / 435.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002272/0.3177, allocations: 0.5053 MB / 436.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3177, allocations: 110.2 kB / 436.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.318, allocations: 284.7 kB / 436.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.318, allocations: 31.62 kB / 436.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3181, allocations: 207 kB / 436.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.3182, allocations: 40.22 kB / 437 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.3183, allocations: 57.73 kB / 437 MB, free: 6.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.3183, allocations: 332 kB / 437.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.3187, allocations: 95.31 kB / 437.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.3191, allocations: 200.7 kB / 437.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.3198, allocations: 301.7 kB / 437.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3198, allocations: 2.75 kB / 437.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001269/0.321, allocations: 429.2 kB / 438.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.3211, allocations: 32.14 kB / 438.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3211, allocations: 3.484 kB / 438.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.3215, allocations: 79.86 kB / 438.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.3217, allocations: 46.23 kB / 438.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.324, allocations: 1.715 MB / 440.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.3244, allocations: 57.39 kB / 440.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.3244, allocations: 14.64 kB / 440.3 MB, free: 4.188 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.0001403/0.3246, allocations: 149.7 kB / 440.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.3246, allocations: 27.89 kB / 440.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.3247, allocations: 28.45 kB / 440.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3247, allocations: 1.188 kB / 440.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3247, allocations: 0 / 440.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3247, allocations: 2.406 kB / 440.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.3249, allocations: 299.4 kB / 440.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3249, allocations: 3.938 kB / 440.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3251, allocations: 23.17 kB / 440.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.3253, allocations: 64.06 kB / 440.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3254, allocations: 8.734 kB / 440.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.3273, allocations: 1.701 MB / 442.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3273, allocations: 0 / 442.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3283, allocations: 311.2 kB / 442.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.3284, allocations: 115.8 kB / 443 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3284, allocations: 2.203 kB / 443 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.3287, allocations: 34.52 kB / 443 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.3288, allocations: 19.8 kB / 443.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3288, allocations: 7.062 kB / 443.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.329, allocations: 200.6 kB / 443.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 1 kB / 443.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.3294, allocations: 80.66 kB / 443.3 MB, free: 1.828 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.0001259/0.3295, allocations: 107.8 kB / 443.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3305, allocations: 411.7 kB / 443.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3305, allocations: 0 / 443.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.331, allocations: 226.5 kB / 444.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3313, allocations: 48.84 kB / 444.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.3324, allocations: 496.4 kB / 444.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.3326, allocations: 0.7548 MB / 445.3 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3327, allocations: 24.03 kB / 445.4 MB, free: 324 kB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3327, allocations: 5.156 kB / 445.4 MB, free: 320 kB / 350.1 MB Notification: Performance of Templates: time 0.007979/0.3406, allocations: 4.432 MB / 449.8 MB, free: 15.99 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.356261116015958]