Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001652/0.001653, allocations: 183.3 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0008663/0.0008661, allocations: 96.84 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 12 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2142, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08641/0.3007, allocations: 78.38 MB / 455.4 MB, free: 2.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.301, allocations: 75.97 kB / 455.5 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.318, allocations: 5.765 MB / 461.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3181, allocations: 0 / 461.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.3181, allocations: 4 kB / 461.2 MB, free: 12.32 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.001229/0.3193, allocations: 0.6073 MB / 461.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3194, allocations: 12.03 kB / 461.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3195, allocations: 32.56 kB / 461.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.32, allocations: 268.8 kB / 462.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.32, allocations: 16.92 kB / 462.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3201, allocations: 28.38 kB / 462.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.3208, allocations: 311.9 kB / 462.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3208, allocations: 4.188 kB / 462.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.3208, allocations: 15.94 kB / 462.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3209, allocations: 4 kB / 462.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.3217, allocations: 281.5 kB / 462.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.3236, allocations: 1.11 MB / 463.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.3244, allocations: 242.5 kB / 464.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.3247, allocations: 96.8 kB / 464.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3247, allocations: 4 kB / 464.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.3252, allocations: 185.5 kB / 464.4 MB, free: 8.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.106e-06/0.3252, allocations: 0 / 464.4 MB, free: 8.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.00198/0.3272, allocations: 0.5457 MB / 465 MB, free: 8.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.3273, allocations: 110.8 kB / 465.1 MB, free: 8.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.3276, allocations: 282.5 kB / 465.4 MB, free: 7.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.3276, allocations: 33.7 kB / 465.4 MB, free: 7.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3278, allocations: 191.5 kB / 465.6 MB, free: 7.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.3279, allocations: 47.47 kB / 465.6 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.3279, allocations: 4 kB / 465.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.328, allocations: 330.8 kB / 466 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.3284, allocations: 108.2 kB / 466.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.3287, allocations: 210.1 kB / 466.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.3294, allocations: 333.6 kB / 466.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3294, allocations: 4 kB / 466.6 MB, free: 6.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001173/0.3306, allocations: 443.6 kB / 467 MB, free: 6.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.3307, allocations: 33.7 kB / 467.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3307, allocations: 7.984 kB / 467.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.3311, allocations: 72.91 kB / 467.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.3313, allocations: 59.83 kB / 467.2 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.3338, allocations: 1.588 MB / 468.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.3343, allocations: 67.66 kB / 468.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.3343, allocations: 8 kB / 468.9 MB, free: 4.141 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.0002043/0.3345, allocations: 153.7 kB / 469 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.3346, allocations: 31.66 kB / 469 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.3347, allocations: 21.72 kB / 469.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3347, allocations: 7.984 kB / 469.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3347, allocations: 0 / 469.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3347, allocations: 0 / 469.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.335, allocations: 289.5 kB / 469.4 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.335, allocations: 0 / 469.4 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3352, allocations: 27.91 kB / 469.4 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.3354, allocations: 80.92 kB / 469.5 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3355, allocations: 7.938 kB / 469.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.3375, allocations: 1.574 MB / 471 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3375, allocations: 3.938 kB / 471 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.3385, allocations: 333.4 kB / 471.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3387, allocations: 112.8 kB / 471.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.3387, allocations: 11.94 kB / 471.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.339, allocations: 35.95 kB / 471.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.3391, allocations: 19.97 kB / 471.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.3391, allocations: 8 kB / 471.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00024/0.3394, allocations: 206 kB / 471.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3394, allocations: 0 / 471.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.3398, allocations: 75.84 kB / 471.8 MB, free: 0.9375 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.0001869/0.34, allocations: 107.2 kB / 471.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3411, allocations: 430 kB / 472.4 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.3411, allocations: 0 / 472.4 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.3416, allocations: 247 kB / 472.6 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.342, allocations: 32.88 kB / 472.6 MB, free: 96 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3433, allocations: 0.5437 MB / 473.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.3437, allocations: 0.756 MB / 473.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.3439, allocations: 22.3 kB / 473.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.3439, allocations: 19.44 kB / 474 MB, free: 14.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.034e-06/0.3439, allocations: 4 kB / 474 MB, free: 14.69 MB / 362.7 MB Notification: Performance of Templates: time 0.008344/0.3523, allocations: 3.695 MB / 477.7 MB, free: 11.02 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches