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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001256, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4469, allocations: 50.53 MB / 409.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004289/0.4512, allocations: 2.807 MB / 412.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.4525, allocations: 0.6816 MB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.4527, allocations: 4 kB / 412.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.4529, allocations: 47.5 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.4531, allocations: 91.2 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.4534, allocations: 79.89 kB / 413 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.4539, allocations: 382.5 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.4543, allocations: 126.9 kB / 413.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.4545, allocations: 139.5 kB / 413.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.4547, allocations: 163.3 kB / 413.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.4548, allocations: 32 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.4549, allocations: 36 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.455, allocations: 75.69 kB / 413.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.4552, allocations: 171.2 kB / 414.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.4556, allocations: 371.9 kB / 414.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4556, allocations: 3.938 kB / 414.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.4557, allocations: 0 / 414.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4557, allocations: 0 / 414.4 MB, free: 12.43 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.001496/0.4572, allocations: 0.6536 MB / 415.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.4572, allocations: 12.03 kB / 415.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.4573, allocations: 36.5 kB / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.4578, allocations: 276.6 kB / 415.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.4578, allocations: 16.94 kB / 415.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.4579, allocations: 20.38 kB / 415.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000705/0.4586, allocations: 315.6 kB / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4586, allocations: 0 / 415.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.4587, allocations: 12 kB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4587, allocations: 4 kB / 415.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.4595, allocations: 253.6 kB / 416 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.4612, allocations: 1.081 MB / 417.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.4621, allocations: 218.6 kB / 417.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.4624, allocations: 96.72 kB / 417.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.4624, allocations: 3.938 kB / 417.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.4629, allocations: 169.9 kB / 417.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.4629, allocations: 0 / 417.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002181/0.4651, allocations: 0.5066 MB / 418.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.4652, allocations: 106.8 kB / 418.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.4655, allocations: 290.6 kB / 418.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.4655, allocations: 25.7 kB / 418.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4657, allocations: 199.5 kB / 418.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.4658, allocations: 43.44 kB / 418.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.4659, allocations: 53.94 kB / 418.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.466, allocations: 330.8 kB / 419.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.4663, allocations: 96.16 kB / 419.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.4667, allocations: 198.1 kB / 419.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.4674, allocations: 309.4 kB / 419.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4675, allocations: 3.938 kB / 419.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001178/0.4686, allocations: 427.7 kB / 420.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.4687, allocations: 37.69 kB / 420.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4687, allocations: 0 / 420.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.4691, allocations: 76.84 kB / 420.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.4693, allocations: 51.89 kB / 420.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.4722, allocations: 1.711 MB / 422 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.4726, allocations: 59.7 kB / 422 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.4726, allocations: 8 kB / 422.1 MB, free: 4.227 MB / 334.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.0002188/0.4728, allocations: 149.1 kB / 422.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.4729, allocations: 23.72 kB / 422.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/0.4729, allocations: 25.7 kB / 422.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.473, allocations: 4 kB / 422.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.473, allocations: 4 kB / 422.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.473, allocations: 0 / 422.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.4733, allocations: 305.3 kB / 422.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4733, allocations: 0 / 422.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.4735, allocations: 23.95 kB / 422.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.4738, allocations: 72.75 kB / 422.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4738, allocations: 0 / 422.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.4763, allocations: 1.715 MB / 424.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4763, allocations: 0 / 424.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4774, allocations: 313.5 kB / 424.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4776, allocations: 108.8 kB / 424.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.4776, allocations: 4 kB / 424.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.4779, allocations: 31.95 kB / 424.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.478, allocations: 19.97 kB / 424.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.478, allocations: 4 kB / 424.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.4783, allocations: 217.8 kB / 425 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4783, allocations: 0 / 425 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004099/0.4787, allocations: 75.84 kB / 425.1 MB, free: 0.9141 MB / 334.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.000244/0.4789, allocations: 102.6 kB / 425.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.4801, allocations: 413.8 kB / 425.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4801, allocations: 0 / 425.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.4806, allocations: 227.2 kB / 425.8 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.4809, allocations: 32.88 kB / 425.9 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.4819, allocations: 463.5 kB / 426.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.4823, allocations: 0.7519 MB / 427.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.864e-05/0.4824, allocations: 30.27 kB / 427.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.4825, allocations: 23.44 kB / 427.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4825, allocations: 3.938 kB / 427.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Templates: time 0.008761/0.4913, allocations: 4.242 MB / 431.4 MB, free: 10.59 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches