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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 104.4 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 55.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2895, allocations: 50.44 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003734/0.2933, allocations: 2.851 MB / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2947, allocations: 0.6826 MB / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.295, allocations: 7.938 kB / 410.6 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.2953, allocations: 31.75 kB / 410.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.2957, allocations: 75.39 kB / 410.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.2961, allocations: 75.92 kB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.2965, allocations: 362.5 kB / 411.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.2967, allocations: 103.6 kB / 411.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2969, allocations: 139.4 kB / 411.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.2971, allocations: 151.4 kB / 411.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.2971, allocations: 23.98 kB / 411.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.2972, allocations: 24 kB / 411.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.2973, allocations: 67.69 kB / 411.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.2974, allocations: 147.2 kB / 411.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.2977, allocations: 360.2 kB / 412.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2978, allocations: 0 / 412.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2978, allocations: 0 / 412.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2978, allocations: 3.938 kB / 412.1 MB, free: 22.73 MB / 298.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.001281/0.2991, allocations: 0.6497 MB / 412.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2991, allocations: 8.031 kB / 412.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.2992, allocations: 40.56 kB / 412.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2994, allocations: 272.6 kB / 413.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.2995, allocations: 20.94 kB / 413.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.2995, allocations: 24.38 kB / 413.1 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.3001, allocations: 303.6 kB / 413.4 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3001, allocations: 4 kB / 413.4 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3002, allocations: 8 kB / 413.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3002, allocations: 8 kB / 413.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.3009, allocations: 245.6 kB / 413.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3023, allocations: 1.101 MB / 414.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.303, allocations: 214.6 kB / 415 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.3033, allocations: 88.8 kB / 415.1 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.3034, allocations: 0 / 415.1 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.3039, allocations: 169.8 kB / 415.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.3039, allocations: 0 / 415.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0019/0.3058, allocations: 0.5144 MB / 415.8 MB, free: 18.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3058, allocations: 106.8 kB / 415.9 MB, free: 18.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.3061, allocations: 290.5 kB / 416.2 MB, free: 18.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3061, allocations: 33.7 kB / 416.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.3062, allocations: 187.6 kB / 416.4 MB, free: 18.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3062, allocations: 43.45 kB / 416.4 MB, free: 18.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.3063, allocations: 49.84 kB / 416.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.3064, allocations: 342.8 kB / 416.8 MB, free: 17.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.3067, allocations: 92.16 kB / 416.9 MB, free: 17.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.307, allocations: 198.1 kB / 417.1 MB, free: 17.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.3076, allocations: 304.2 kB / 417.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3077, allocations: 3.938 kB / 417.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001082/0.3087, allocations: 427.7 kB / 417.8 MB, free: 16.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.3088, allocations: 33.69 kB / 417.8 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3088, allocations: 4 kB / 417.8 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.3091, allocations: 76.84 kB / 417.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.3093, allocations: 51.89 kB / 418 MB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.3112, allocations: 1.591 MB / 419.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.3115, allocations: 55.72 kB / 419.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.3115, allocations: 12 kB / 419.6 MB, free: 14.66 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 0.000128/0.3117, allocations: 143.9 kB / 419.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.3117, allocations: 27.66 kB / 419.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.3118, allocations: 29.7 kB / 419.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3118, allocations: 4 kB / 419.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3118, allocations: 0 / 419.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3118, allocations: 0 / 419.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.312, allocations: 309.3 kB / 420.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.3121, allocations: 3.984 kB / 420.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3122, allocations: 15.98 kB / 420.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.3124, allocations: 72.98 kB / 420.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3124, allocations: 4 kB / 420.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.3141, allocations: 1.57 MB / 421.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3141, allocations: 0 / 421.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.3154, allocations: 0.9794 MB / 422.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.3155, allocations: 108.8 kB / 422.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.3155, allocations: 4 kB / 422.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3157, allocations: 27.95 kB / 422.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.3158, allocations: 27.97 kB / 422.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3159, allocations: 4 kB / 422.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.316, allocations: 202 kB / 423.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.316, allocations: 0 / 423.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004657/0.3165, allocations: 87.69 kB / 423.2 MB, free: 10.79 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 0.000132/0.3166, allocations: 111.1 kB / 423.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008729/0.3175, allocations: 413.4 kB / 423.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3175, allocations: 0 / 423.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.3179, allocations: 222.2 kB / 423.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.3182, allocations: 36.88 kB / 424 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.3192, allocations: 0.6892 MB / 424.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.3194, allocations: 0.7482 MB / 425.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3195, allocations: 30.3 kB / 425.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.3195, allocations: 15.44 kB / 425.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3195, allocations: 0 / 425.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of Templates: time 0.006842/0.3264, allocations: 3.967 MB / 429.4 MB, free: 4.5 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches