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.001578/0.001578, allocations: 110.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3268, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00387/0.3307, allocations: 2.804 MB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3318, allocations: 0.6777 MB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.332, allocations: 8 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3322, allocations: 47.5 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.3324, allocations: 79.27 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3326, allocations: 83.83 kB / 413.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.333, allocations: 390.4 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.3333, allocations: 122.9 kB / 414.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3335, allocations: 139.5 kB / 414.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.3337, allocations: 167.3 kB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.3338, allocations: 36 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.3338, allocations: 32 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.3339, allocations: 75.69 kB / 414.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.3341, allocations: 163.2 kB / 414.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.3345, allocations: 379.8 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3345, allocations: 0 / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3345, allocations: 0 / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3345, allocations: 3.938 kB / 415.1 MB, free: 12.39 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.001323/0.3358, allocations: 0.6575 MB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3359, allocations: 8.031 kB / 415.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.336, allocations: 32.56 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.3364, allocations: 284.6 kB / 416.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3364, allocations: 20.94 kB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.3365, allocations: 20.38 kB / 416.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.3371, allocations: 303.7 kB / 416.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3371, allocations: 3.938 kB / 416.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.3372, allocations: 16 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3372, allocations: 4 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/0.3379, allocations: 249.6 kB / 416.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.3396, allocations: 1.085 MB / 417.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.3404, allocations: 210.6 kB / 418 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.3407, allocations: 92.72 kB / 418.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3407, allocations: 4 kB / 418.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.3411, allocations: 165.9 kB / 418.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.3411, allocations: 0 / 418.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002046/0.3432, allocations: 0.5105 MB / 418.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.3433, allocations: 106.8 kB / 418.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.3436, allocations: 286.6 kB / 419.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.3436, allocations: 25.7 kB / 419.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3437, allocations: 199.5 kB / 419.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.3438, allocations: 39.44 kB / 419.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.3439, allocations: 53.94 kB / 419.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.344, allocations: 330.8 kB / 419.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.3443, allocations: 100.1 kB / 419.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.3447, allocations: 198.1 kB / 420.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.3454, allocations: 309.4 kB / 420.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.3454, allocations: 4 kB / 420.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001163/0.3466, allocations: 426.9 kB / 420.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.3466, allocations: 37.69 kB / 420.8 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3467, allocations: 4 kB / 420.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003929/0.3471, allocations: 76.78 kB / 420.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.3473, allocations: 47.95 kB / 421 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.3501, allocations: 1.723 MB / 422.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.3505, allocations: 55.64 kB / 422.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3505, allocations: 8 kB / 422.7 MB, free: 4.188 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.0001691/0.3507, allocations: 145.7 kB / 422.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.3507, allocations: 31.72 kB / 422.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.3508, allocations: 25.7 kB / 422.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3508, allocations: 0 / 422.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3508, allocations: 0 / 422.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3509, allocations: 116.7 kB / 423.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.351, allocations: 4 kB / 423.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.3512, allocations: 31.89 kB / 423.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.3514, allocations: 31.91 kB / 423.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001173/0.3525, allocations: 369.6 kB / 423.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009391/0.3535, allocations: 484.9 kB / 424 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002817/0.3538, allocations: 83.98 kB / 424 MB, free: 2.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.354, allocations: 202 kB / 424.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of Backend: time 6.62e-07/0.354, allocations: 0 / 424.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3551, allocations: 419.6 kB / 424.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of SimCode: time 0.001157/0.3563, allocations: 0.929 MB / 425.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Templates: time 0.008302/0.3646, allocations: 4.152 MB / 429.7 MB, free: 13.11 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches