Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002213/0.002213, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 222.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 93.73 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000535/0.0005352, allocations: 8 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3416, allocations: 47.58 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4691, allocations: 78.34 MB / 452.9 MB, free: 2.457 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.4695, allocations: 83.95 kB / 453 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02781/0.4973, allocations: 5.753 MB / 458.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4974, allocations: 0 / 458.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.4974, allocations: 4 kB / 458.7 MB, free: 12.59 MB / 346.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.001717/0.4991, allocations: 0.6071 MB / 459.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4992, allocations: 8.031 kB / 459.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.4993, allocations: 31.62 kB / 459.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.4998, allocations: 267.4 kB / 459.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.4998, allocations: 20.56 kB / 459.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.4999, allocations: 28 kB / 459.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.501, allocations: 303.4 kB / 460 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5011, allocations: 4 kB / 460 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.5011, allocations: 12 kB / 460 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.5012, allocations: 4 kB / 460 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.5026, allocations: 273.5 kB / 460.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.5056, allocations: 1.126 MB / 461.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5071, allocations: 238.5 kB / 461.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.5072, allocations: 11.97 kB / 461.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007668/0.508, allocations: 173.9 kB / 461.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/0.508, allocations: 0 / 461.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.003698/0.5117, allocations: 0.542 MB / 462.3 MB, free: 8.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.5119, allocations: 110.8 kB / 462.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.5124, allocations: 253.8 kB / 462.7 MB, free: 8.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.5124, allocations: 25.7 kB / 462.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.5126, allocations: 254 kB / 463 MB, free: 8.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.5127, allocations: 47.39 kB / 463 MB, free: 8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.5127, allocations: 4 kB / 463 MB, free: 7.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5129, allocations: 322.8 kB / 463.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.5135, allocations: 104.2 kB / 463.4 MB, free: 7.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/0.5142, allocations: 218.1 kB / 463.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.5149, allocations: 141.6 kB / 463.8 MB, free: 7.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5149, allocations: 0 / 463.8 MB, free: 7.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002126/0.517, allocations: 431.9 kB / 464.2 MB, free: 6.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.5172, allocations: 39.27 kB / 464.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.5172, allocations: 4 kB / 464.2 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.5178, allocations: 68.8 kB / 464.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.5182, allocations: 52 kB / 464.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.5219, allocations: 1.625 MB / 466 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.5227, allocations: 63.72 kB / 466 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.5227, allocations: 8 kB / 466.1 MB, free: 4.727 MB / 346.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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.523, allocations: 149.7 kB / 466.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.523, allocations: 23.72 kB / 466.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.5231, allocations: 21.72 kB / 466.2 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5232, allocations: 11.98 kB / 466.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5232, allocations: 0 / 466.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5232, allocations: 3.953 kB / 466.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.5236, allocations: 301.3 kB / 466.6 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5236, allocations: 0 / 466.6 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.5239, allocations: 27.91 kB / 466.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/0.5243, allocations: 72.73 kB / 466.7 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.5244, allocations: 8 kB / 466.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00346/0.5279, allocations: 1.601 MB / 468.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5279, allocations: 0 / 468.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.5298, allocations: 333.4 kB / 468.6 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.53, allocations: 112.8 kB / 468.7 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.5301, allocations: 8 kB / 468.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.5306, allocations: 35.95 kB / 468.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.5307, allocations: 27.91 kB / 468.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.5308, allocations: 4 kB / 468.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003182/0.5311, allocations: 198 kB / 469 MB, free: 1.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5311, allocations: 4 kB / 469 MB, free: 1.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005328/0.5317, allocations: 79.84 kB / 469.1 MB, free: 1.5 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.5319, allocations: 103.2 kB / 469.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.5336, allocations: 434 kB / 469.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5336, allocations: 0 / 469.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.5344, allocations: 231.1 kB / 469.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.5348, allocations: 36.88 kB / 469.8 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.5364, allocations: 0.5785 MB / 470.4 MB, free: 60 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.5369, allocations: 0.7599 MB / 471.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.5371, allocations: 19.44 kB / 471.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5371, allocations: 0 / 471.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Templates: time 0.01041/0.5475, allocations: 4.264 MB / 475.5 MB, free: 11 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches