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.0007742/0.0007742, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003036/0.003036, allocations: 146.5 kB / 24.68 MB, free: 9.426 MB / 18.57 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.8049/0.8049, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.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.072e-06/1.072e-06, allocations: 0 / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.027e-05, allocations: 6.219 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00234/0.00236, allocations: 2.594 MB / 322.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006981/0.003058, allocations: 0.6271 MB / 322.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.003155, allocations: 4 kB / 322.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.003271, allocations: 47.56 kB / 323 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.0034, allocations: 91.14 kB / 323.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.003604, allocations: 95.75 kB / 323.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.00388, allocations: 394.2 kB / 323.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.004029, allocations: 79.36 kB / 323.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004189, allocations: 215.5 kB / 323.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.004311, allocations: 127.6 kB / 324 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.004348, allocations: 32 kB / 324 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.004378, allocations: 36 kB / 324 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.004423, allocations: 75.69 kB / 324.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.004505, allocations: 115.7 kB / 324.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.004781, allocations: 390.8 kB / 324.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004784, allocations: 4 kB / 324.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004785, allocations: 0 / 324.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004789, allocations: 0 / 324.6 MB, free: 0.9062 MB / 282.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.0007663/0.005555, allocations: 0.5896 MB / 325.2 MB, free: 288 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.005588, allocations: 12.92 kB / 325.2 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.005639, allocations: 32.75 kB / 325.2 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.005879, allocations: 214.2 kB / 325.4 MB, free: 0 / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.005905, allocations: 16.92 kB / 325.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.00593, allocations: 24.38 kB / 325.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.006328, allocations: 358.6 kB / 325.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006338, allocations: 192 / 325.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.006357, allocations: 12.38 kB / 325.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.006365, allocations: 7.938 kB / 325.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.006768, allocations: 253.8 kB / 326.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.007916, allocations: 0.9243 MB / 327 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.008308, allocations: 202.6 kB / 327.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.008455, allocations: 88.8 kB / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.008473, allocations: 3.984 kB / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.008726, allocations: 217.2 kB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 8.32e-07/0.008727, allocations: 0 / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001006/0.009733, allocations: 437.9 kB / 328 MB, free: 13.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.00978, allocations: 106.8 kB / 328.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.009951, allocations: 265.7 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.009968, allocations: 37.64 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.01006, allocations: 207.9 kB / 328.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.01009, allocations: 39.69 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.01014, allocations: 49.88 kB / 328.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.01022, allocations: 342.8 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.01039, allocations: 117.9 kB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.01061, allocations: 279.2 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.01096, allocations: 312.8 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01096, allocations: 0 / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005957/0.01156, allocations: 453.5 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.01158, allocations: 37.69 kB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.01159, allocations: 7.984 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.01179, allocations: 68.81 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.0119, allocations: 51.98 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.01315, allocations: 1.582 MB / 331.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.0133, allocations: 51.75 kB / 331.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01332, allocations: 11.98 kB / 331.9 MB, free: 9.047 MB / 298.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 9.961e-05/0.01342, allocations: 141.8 kB / 332.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.01344, allocations: 27.8 kB / 332.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.01346, allocations: 25.77 kB / 332.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01346, allocations: 4 kB / 332.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-07/0.01347, allocations: 0 / 332.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01347, allocations: 4 kB / 332.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.0136, allocations: 201.2 kB / 332.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01361, allocations: 0 / 332.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.01366, allocations: 19.97 kB / 332.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.0138, allocations: 68.81 kB / 332.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01381, allocations: 3.938 kB / 332.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.01514, allocations: 1.577 MB / 334 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.01514, allocations: 0 / 334 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.01562, allocations: 313.5 kB / 334.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.01567, allocations: 39.77 kB / 334.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01568, allocations: 3.938 kB / 334.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01579, allocations: 27.97 kB / 334.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.01585, allocations: 27.89 kB / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01586, allocations: 8 kB / 334.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.01597, allocations: 181.2 kB / 334.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01597, allocations: 0 / 334.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.01617, allocations: 83.83 kB / 334.7 MB, free: 6.145 MB / 298.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 7.723e-05/0.01624, allocations: 107.2 kB / 334.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005295/0.01677, allocations: 435.6 kB / 335.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01678, allocations: 4 kB / 335.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.01699, allocations: 215.2 kB / 335.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.01716, allocations: 44.66 kB / 335.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.01775, allocations: 472.7 kB / 335.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.242e-05/0.01782, allocations: 138.9 kB / 336 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.01787, allocations: 28.5 kB / 336.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01787, allocations: 0 / 336.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of Templates: time 0.003704/0.02157, allocations: 4.423 MB / 340.5 MB, free: 212 kB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.079250332899392]