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.001349/0.001349, allocations: 118.8 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.001845/0.001846, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.91 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3472, allocations: 50.55 MB / 409.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004538/0.3518, allocations: 2.8 MB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3531, allocations: 0.6855 MB / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3533, allocations: 4 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.3535, allocations: 39.58 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.3537, allocations: 99.19 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3539, allocations: 83.83 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.3544, allocations: 382.5 kB / 413.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.3546, allocations: 122.9 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.3548, allocations: 143.5 kB / 413.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.355, allocations: 163.3 kB / 413.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/0.3551, allocations: 36 kB / 413.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.3552, allocations: 36 kB / 413.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.3553, allocations: 71.75 kB / 413.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.3554, allocations: 167.2 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.3558, allocations: 371.8 kB / 414.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3558, allocations: 7.875 kB / 414.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3558, allocations: 0 / 414.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3558, allocations: 0 / 414.4 MB, free: 12.34 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.001427/0.3573, allocations: 0.6536 MB / 415.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3573, allocations: 12.03 kB / 415.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3574, allocations: 36.55 kB / 415.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.3579, allocations: 280.6 kB / 415.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3579, allocations: 20.94 kB / 415.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.3579, allocations: 20.38 kB / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.3586, allocations: 303.7 kB / 415.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3586, allocations: 0 / 415.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.3586, allocations: 12 kB / 415.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3587, allocations: 4 kB / 415.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007301/0.3594, allocations: 261.5 kB / 416 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.3611, allocations: 1.081 MB / 417.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.3619, allocations: 210.5 kB / 417.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.3622, allocations: 84.8 kB / 417.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3622, allocations: 19.94 kB / 417.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.3626, allocations: 161.9 kB / 417.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.3626, allocations: 0 / 417.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001939/0.3646, allocations: 0.5105 MB / 418.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.3647, allocations: 110.8 kB / 418.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.365, allocations: 282.7 kB / 418.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.365, allocations: 25.7 kB / 418.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3652, allocations: 207.5 kB / 418.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3652, allocations: 35.45 kB / 418.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.3653, allocations: 53.94 kB / 418.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3655, allocations: 330.8 kB / 419.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.3658, allocations: 96.16 kB / 419.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.3662, allocations: 202.1 kB / 419.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.3668, allocations: 305.4 kB / 419.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3668, allocations: 3.938 kB / 419.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001102/0.3679, allocations: 427.7 kB / 420.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.368, allocations: 33.7 kB / 420.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.368, allocations: 0 / 420.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.3684, allocations: 80.83 kB / 420.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.3686, allocations: 47.91 kB / 420.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.3711, allocations: 1.718 MB / 422 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.3716, allocations: 55.72 kB / 422 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3716, allocations: 12 kB / 422.1 MB, free: 4.137 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.0001484/0.3718, allocations: 152.8 kB / 422.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.3718, allocations: 27.72 kB / 422.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.3719, allocations: 25.7 kB / 422.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3719, allocations: 4 kB / 422.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3719, allocations: 0 / 422.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3719, allocations: 0 / 422.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.3723, allocations: 309.2 kB / 422.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3723, allocations: 0 / 422.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3724, allocations: 15.98 kB / 422.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.3727, allocations: 76.92 kB / 422.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3727, allocations: 4 kB / 422.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.3749, allocations: 1.703 MB / 424.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3749, allocations: 0 / 424.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.3758, allocations: 321.4 kB / 424.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3759, allocations: 112.8 kB / 424.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.376, allocations: 0 / 424.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3762, allocations: 27.97 kB / 424.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.3763, allocations: 19.97 kB / 424.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3763, allocations: 8 kB / 424.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.3765, allocations: 209.9 kB / 425 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3765, allocations: 0 / 425 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000411/0.3769, allocations: 75.84 kB / 425.1 MB, free: 0.832 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.0001498/0.3771, allocations: 107.2 kB / 425.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.378, allocations: 413.7 kB / 425.6 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3781, allocations: 0 / 425.6 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.3785, allocations: 223.4 kB / 425.8 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3788, allocations: 45 kB / 425.9 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3798, allocations: 460 kB / 426.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.3803, allocations: 0.7518 MB / 427.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.3804, allocations: 30.27 kB / 427.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.3804, allocations: 23.44 kB / 427.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3804, allocations: 3.938 kB / 427.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Templates: time 0.007869/0.3883, allocations: 4.236 MB / 431.4 MB, free: 10.5 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