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.002321/0.002321, allocations: 181 kB / 17.41 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.195/3.195, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.001488/0.001488, allocations: 97.47 kB / 271.9 MB, free: 8.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006347/0.0006348, allocations: 11.98 kB / 328.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6209, allocations: 47.57 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.8048, allocations: 78.37 MB / 454.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005542/0.8054, allocations: 83.94 kB / 454.2 MB, free: 2.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03301/0.8385, allocations: 5.757 MB / 459.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.26e-06/0.8386, allocations: 4 kB / 459.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.465e-05/0.8387, allocations: 8 kB / 459.9 MB, free: 12.37 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.002289/0.841, allocations: 0.6073 MB / 460.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/0.841, allocations: 8.031 kB / 460.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.8413, allocations: 32.56 kB / 460.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.8421, allocations: 268.8 kB / 460.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.8422, allocations: 12.94 kB / 460.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.8423, allocations: 32.38 kB / 460.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.8435, allocations: 311.9 kB / 461.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.8436, allocations: 192 / 461.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.8436, allocations: 19.94 kB / 461.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.8437, allocations: 8 kB / 461.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.845, allocations: 273.5 kB / 461.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007684/0.8527, allocations: 1.122 MB / 462.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.8541, allocations: 230.5 kB / 462.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.8546, allocations: 100.8 kB / 462.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.8546, allocations: 0 / 462.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007652/0.8554, allocations: 181.9 kB / 463.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.437e-06/0.8555, allocations: 4 kB / 463.1 MB, free: 8.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.007824/0.8633, allocations: 0.5499 MB / 463.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.8635, allocations: 102.8 kB / 463.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006987/0.8642, allocations: 290.5 kB / 464.1 MB, free: 7.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.8643, allocations: 29.7 kB / 464.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.8646, allocations: 195.5 kB / 464.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.8647, allocations: 43.48 kB / 464.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.8647, allocations: 4 kB / 464.3 MB, free: 7.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.865, allocations: 330.8 kB / 464.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.8656, allocations: 108.2 kB / 464.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.8663, allocations: 214.1 kB / 465 MB, free: 6.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.8675, allocations: 326.2 kB / 465.3 MB, free: 6.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.8675, allocations: 0 / 465.3 MB, free: 6.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002268/0.8698, allocations: 451.4 kB / 465.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.472e-05/0.8699, allocations: 33.7 kB / 465.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.87, allocations: 4 kB / 465.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.8707, allocations: 76.89 kB / 465.8 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.8711, allocations: 55.84 kB / 465.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008202/0.8793, allocations: 1.589 MB / 467.5 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.8801, allocations: 67.66 kB / 467.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.8802, allocations: 15.98 kB / 467.6 MB, free: 4.18 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.0003531/0.8805, allocations: 141.7 kB / 467.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.8807, allocations: 31.66 kB / 467.7 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.8808, allocations: 21.7 kB / 467.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8808, allocations: 8 kB / 467.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8808, allocations: 0 / 467.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8809, allocations: 3.984 kB / 467.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.8815, allocations: 293.5 kB / 468 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.8815, allocations: 0 / 468 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.8817, allocations: 35.84 kB / 468.1 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/0.8822, allocations: 76.73 kB / 468.2 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.8823, allocations: 0 / 468.2 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.8859, allocations: 1.578 MB / 469.7 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.886, allocations: 3.938 kB / 469.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.888, allocations: 333.4 kB / 470.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.8883, allocations: 112.8 kB / 470.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.8885, allocations: 7.938 kB / 470.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.889, allocations: 39.95 kB / 470.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004299/0.8933, allocations: 19.97 kB / 470.2 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/0.8934, allocations: 8 kB / 470.2 MB, free: 1.254 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005431/0.894, allocations: 202 kB / 470.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.894, allocations: 0 / 470.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009338/0.895, allocations: 83.84 kB / 470.5 MB, free: 0.9766 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.0002764/0.8953, allocations: 103.2 kB / 470.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.8973, allocations: 426.4 kB / 471 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.8974, allocations: 0 / 471 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007962/0.8982, allocations: 238.6 kB / 471.3 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.8989, allocations: 44.86 kB / 471.3 MB, free: 140 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.9009, allocations: 0.5688 MB / 471.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004896/0.9059, allocations: 0.7482 MB / 472.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.9062, allocations: 23.44 kB / 472.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.952e-06/0.9062, allocations: 0 / 472.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01414/0.9204, allocations: 4.371 MB / 477 MB, free: 10.37 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