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.001341/0.001341, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 55.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4667, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003921/0.4707, allocations: 2.811 MB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4719, allocations: 0.6699 MB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.472, allocations: 4 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.4722, allocations: 47.58 kB / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.4724, allocations: 95.17 kB / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.4726, allocations: 83.83 kB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.473, allocations: 374.5 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.4733, allocations: 130.9 kB / 413.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.4735, allocations: 143.5 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.4737, allocations: 163.3 kB / 413.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.4738, allocations: 36 kB / 413.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.4739, allocations: 32 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.474, allocations: 75.75 kB / 413.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.4742, allocations: 167.2 kB / 414.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.4746, allocations: 378.4 kB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4746, allocations: 3.938 kB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4746, allocations: 3.938 kB / 414.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4746, allocations: 0 / 414.4 MB, free: 12.38 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.00132/0.476, allocations: 0.6573 MB / 415.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.476, allocations: 8.031 kB / 415.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.4761, allocations: 36.7 kB / 415.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.4765, allocations: 280.7 kB / 415.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.4765, allocations: 16.94 kB / 415.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.4766, allocations: 28.38 kB / 415.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.4772, allocations: 303.7 kB / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4773, allocations: 0 / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.4773, allocations: 15.98 kB / 415.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4773, allocations: 4 kB / 415.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.4781, allocations: 253.5 kB / 416 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.4797, allocations: 1.082 MB / 417.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007644/0.4805, allocations: 210.5 kB / 417.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.4808, allocations: 96.78 kB / 417.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.4809, allocations: 7.938 kB / 417.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004526/0.4813, allocations: 169.9 kB / 417.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.4813, allocations: 0 / 417.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002027/0.4834, allocations: 0.499 MB / 418.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.4834, allocations: 114.8 kB / 418.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.4837, allocations: 286.6 kB / 418.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4838, allocations: 33.7 kB / 418.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4839, allocations: 196 kB / 418.7 MB, free: 7.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4839, allocations: 43.67 kB / 418.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.484, allocations: 53.89 kB / 418.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4842, allocations: 334.8 kB / 419.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.4845, allocations: 92.16 kB / 419.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.4849, allocations: 210 kB / 419.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.4856, allocations: 305.4 kB / 419.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4856, allocations: 7.938 kB / 419.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001155/0.4868, allocations: 415.9 kB / 420.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.4868, allocations: 33.7 kB / 420.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.4868, allocations: 7.984 kB / 420.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.4872, allocations: 72.84 kB / 420.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.4874, allocations: 47.91 kB / 420.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.4897, allocations: 1.723 MB / 422 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.4901, allocations: 55.81 kB / 422.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.4901, allocations: 19.92 kB / 422.1 MB, free: 4.16 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.0001518/0.4903, allocations: 145.7 kB / 422.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.4903, allocations: 27.81 kB / 422.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.4904, allocations: 29.7 kB / 422.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4904, allocations: 0 / 422.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4904, allocations: 7.938 kB / 422.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4904, allocations: 0 / 422.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.4907, allocations: 297.4 kB / 422.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4907, allocations: 0 / 422.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.4908, allocations: 15.98 kB / 422.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.4911, allocations: 72.98 kB / 422.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4911, allocations: 11.94 kB / 422.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.4933, allocations: 1.7 MB / 424.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4933, allocations: 3.984 kB / 424.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009756/0.4943, allocations: 313.5 kB / 424.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.4944, allocations: 112.9 kB / 424.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.4945, allocations: 4 kB / 424.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4947, allocations: 23.97 kB / 424.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4948, allocations: 23.97 kB / 424.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.4948, allocations: 7.984 kB / 424.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.4951, allocations: 201.9 kB / 425.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4951, allocations: 4 kB / 425.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000383/0.4955, allocations: 83.88 kB / 425.1 MB, free: 0.8555 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.0002035/0.4957, allocations: 95.25 kB / 425.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.4967, allocations: 417.8 kB / 425.6 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4968, allocations: 4 kB / 425.6 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.4973, allocations: 227.2 kB / 425.9 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.4976, allocations: 51.8 kB / 425.9 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.4987, allocations: 471.6 kB / 426.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4991, allocations: 0.748 MB / 427.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.564e-05/0.4992, allocations: 26.28 kB / 427.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.4992, allocations: 19.44 kB / 427.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.104e-06/0.4992, allocations: 0 / 427.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of Templates: time 0.007888/0.5071, allocations: 4.24 MB / 431.4 MB, free: 10.52 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