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.001058/0.001058, allocations: 83.67 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001178/0.001178, allocations: 166.9 kB / 24.99 MB, free: 9.277 MB / 18.57 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.05/1.05, allocations: 177 MB / 205.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.784e-06/1.784e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.696e-05, allocations: 9.203 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.0043/0.004327, allocations: 2.8 MB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.005699, allocations: 0.666 MB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.005859, allocations: 4 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.006012, allocations: 51.5 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.006216, allocations: 99.11 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.006544, allocations: 83.88 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.006958, allocations: 394.1 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.007127, allocations: 91.28 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.007356, allocations: 223.4 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.007498, allocations: 119.7 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.007541, allocations: 36 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.408e-05/0.007575, allocations: 32 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.007626, allocations: 79.67 kB / 277.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.007735, allocations: 123.7 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.008011, allocations: 243.1 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.008014, allocations: 0 / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.008015, allocations: 4 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.557e-06/0.008023, allocations: 0 / 278 MB, free: 12.67 MB / 266.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.0009194/0.008943, allocations: 0.6662 MB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.008977, allocations: 8.031 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.009062, allocations: 60.7 kB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.009319, allocations: 221 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.009338, allocations: 24.86 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.009366, allocations: 24.38 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.009728, allocations: 297.1 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.009737, allocations: 192 / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.009758, allocations: 8.375 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.009769, allocations: 11.94 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.009962, allocations: 106.9 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009826/0.01094, allocations: 0.9965 MB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.01114, allocations: 103.1 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.01121, allocations: 39.67 kB / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.01123, allocations: 4 kB / 280.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.01142, allocations: 179.4 kB / 280.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.01142, allocations: 0 / 280.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006527/0.01207, allocations: 249 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.01212, allocations: 110.8 kB / 281.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.01232, allocations: 308.2 kB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01234, allocations: 25.7 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01245, allocations: 262.6 kB / 281.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.01248, allocations: 43.62 kB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.01255, allocations: 59.55 kB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01267, allocations: 0.5001 MB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.01275, allocations: 57.92 kB / 282.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.0129, allocations: 268.5 kB / 282.6 MB, free: 7.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.01309, allocations: 236.1 kB / 282.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01309, allocations: 4 kB / 282.9 MB, free: 7.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004128/0.0135, allocations: 324.5 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.01354, allocations: 44.34 kB / 283.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.01354, allocations: 4 kB / 283.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/0.01382, allocations: 75.64 kB / 283.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.01393, allocations: 43.91 kB / 283.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.01509, allocations: 1.913 MB / 285.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.01524, allocations: 39.81 kB / 285.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.01526, allocations: 15.98 kB / 285.3 MB, free: 4.777 MB / 266.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 0.000108/0.01536, allocations: 172.5 kB / 285.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.01539, allocations: 27.8 kB / 285.5 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.01542, allocations: 29.8 kB / 285.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01542, allocations: 4 kB / 285.5 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01543, allocations: 0 / 285.5 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01543, allocations: 0 / 285.5 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.01559, allocations: 212.4 kB / 285.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.0156, allocations: 0 / 285.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.01564, allocations: 15.98 kB / 285.8 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.01582, allocations: 71.62 kB / 285.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01584, allocations: 8.062 kB / 285.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.01684, allocations: 1.893 MB / 287.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01685, allocations: 3.984 kB / 287.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.01711, allocations: 207.8 kB / 287.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.01716, allocations: 31.84 kB / 288 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.01719, allocations: 11.94 kB / 288 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.01727, allocations: 19.97 kB / 288 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.01734, allocations: 23.97 kB / 288 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.01735, allocations: 3.984 kB / 288 MB, free: 1.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01746, allocations: 205.1 kB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01746, allocations: 4 kB / 288.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.01769, allocations: 79.84 kB / 288.3 MB, free: 1.57 MB / 266.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 9.076e-05/0.01779, allocations: 103.2 kB / 288.4 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.01831, allocations: 385.5 kB / 288.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01831, allocations: 0 / 288.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.01846, allocations: 238.1 kB / 289 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.01866, allocations: 48.66 kB / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.01941, allocations: 439 kB / 289.5 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.01946, allocations: 80.31 kB / 289.6 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.226e-05/0.01954, allocations: 22.3 kB / 289.6 MB, free: 172 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.0196, allocations: 20.5 kB / 289.6 MB, free: 152 kB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0196, allocations: 0 / 289.6 MB, free: 152 kB / 266.7 MB Notification: Performance of Templates: time 0.007255/0.02685, allocations: 4.126 MB / 293.7 MB, free: 12.08 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.020707265008241]