Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.0008999/0.0008999, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002054, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006497/0.0006497, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009809/0.001631, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8753/0.8753, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1528/1.028, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.376e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002669/0.002682, allocations: 2.821 MB / 242.6 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006748/0.003357, allocations: 0.6663 MB / 243.3 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.003435, allocations: 4 kB / 243.3 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.007e-05/0.003505, allocations: 47.5 kB / 243.3 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.003616, allocations: 100.6 kB / 243.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.003739, allocations: 81.8 kB / 243.5 MB, free: 2.633 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.003993, allocations: 390.3 kB / 243.9 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.00412, allocations: 89.95 kB / 244 MB, free: 2.16 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.004355, allocations: 259.1 kB / 244.2 MB, free: 1.91 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.004509, allocations: 127.6 kB / 244.3 MB, free: 1.785 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.004554, allocations: 36 kB / 244.4 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.004593, allocations: 32 kB / 244.4 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.004647, allocations: 55.81 kB / 244.5 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.004728, allocations: 91.81 kB / 244.5 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.004978, allocations: 219.3 kB / 244.8 MB, free: 1.359 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.00499, allocations: 0 / 244.8 MB, free: 1.359 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004991, allocations: 1.312 kB / 244.8 MB, free: 1.359 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.005004, allocations: 0 / 244.8 MB, free: 1.359 MB / 234.7 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.0007281/0.005732, allocations: 0.6037 MB / 245.4 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005766, allocations: 15.98 kB / 245.4 MB, free: 0.707 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.005824, allocations: 40.91 kB / 245.4 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.006013, allocations: 182.2 kB / 245.6 MB, free: 472 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.006025, allocations: 16.88 kB / 245.6 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.006049, allocations: 24.38 kB / 245.6 MB, free: 432 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.006293, allocations: 280.3 kB / 245.9 MB, free: 128 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006301, allocations: 5.094 kB / 245.9 MB, free: 124 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.006315, allocations: 8.375 kB / 245.9 MB, free: 116 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.006323, allocations: 13.72 kB / 245.9 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.006418, allocations: 73.39 kB / 246 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.007117, allocations: 0.7968 MB / 246.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.007237, allocations: 83.94 kB / 246.9 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.00727, allocations: 24.86 kB / 246.9 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.007285, allocations: 4 kB / 246.9 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.007413, allocations: 162 kB / 247.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 8.61e-07/0.007414, allocations: 0.5938 kB / 247.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004322/0.007847, allocations: 207.7 kB / 247.3 MB, free: 14.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.007872, allocations: 55.41 kB / 247.3 MB, free: 14.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.007998, allocations: 248.8 kB / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.008016, allocations: 29.7 kB / 247.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.008389, allocations: 187.9 kB / 247.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.008414, allocations: 43.67 kB / 247.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.00847, allocations: 53.88 kB / 247.9 MB, free: 14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.008559, allocations: 338.8 kB / 248.2 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.008605, allocations: 45.94 kB / 248.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.008711, allocations: 215.2 kB / 248.5 MB, free: 13.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.008845, allocations: 205.4 kB / 248.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008846, allocations: 4 kB / 248.7 MB, free: 13.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002436/0.00909, allocations: 261.8 kB / 248.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.009121, allocations: 37.69 kB / 249 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.009125, allocations: 8 kB / 249 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.009317, allocations: 64.81 kB / 249 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.009406, allocations: 51.91 kB / 249.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007954/0.0102, allocations: 1.319 MB / 250.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01031, allocations: 39.81 kB / 250.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.01033, allocations: 8 kB / 250.4 MB, free: 11.18 MB / 250.7 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 7.275e-05/0.0104, allocations: 133.7 kB / 250.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.01042, allocations: 15.98 kB / 250.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.01044, allocations: 29.77 kB / 250.6 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01044, allocations: 7.938 kB / 250.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-07/0.01045, allocations: 0 / 250.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01045, allocations: 0 / 250.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.01054, allocations: 137.7 kB / 250.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01055, allocations: 0 / 250.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.01058, allocations: 11.98 kB / 250.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.01062, allocations: 23.8 kB / 250.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.01077, allocations: 68.8 kB / 250.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.01078, allocations: 0 / 250.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/0.01142, allocations: 1.296 MB / 252.2 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01142, allocations: 3.938 kB / 252.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.01159, allocations: 149.8 kB / 252.3 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01161, allocations: 8 kB / 252.3 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.01168, allocations: 19.98 kB / 252.3 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.01172, allocations: 19.95 kB / 252.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01173, allocations: 4 kB / 252.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.01178, allocations: 82.72 kB / 252.4 MB, free: 9.047 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01178, allocations: 0 / 252.4 MB, free: 9.047 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.01195, allocations: 87.78 kB / 252.5 MB, free: 8.961 MB / 250.7 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 6.093e-05/0.01201, allocations: 84.41 kB / 252.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.01227, allocations: 311.3 kB / 252.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.01228, allocations: 4 kB / 252.9 MB, free: 8.527 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.0124, allocations: 180.5 kB / 253.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.01262, allocations: 408.2 kB / 253.5 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.01398, allocations: 441.7 kB / 253.9 MB, free: 7.402 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.01402, allocations: 84.25 kB / 254 MB, free: 7.301 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.01407, allocations: 26.28 kB / 254 MB, free: 7.277 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01417, allocations: 103.3 kB / 254.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01417, allocations: 0 / 254.1 MB, free: 7.176 MB / 250.7 MB Notification: Performance of Templates: time 0.005607/0.01978, allocations: 4.393 MB / 258.5 MB, free: 2.852 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.478237060829997]