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.002097/0.002097, allocations: 196.7 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 226.5 MB / 245.4 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008311/0.0008313, allocations: 98.78 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2966, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4192, allocations: 80.66 MB / 490 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.4196, allocations: 71.97 kB / 490.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.4374, allocations: 6.024 MB / 496.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.4375, allocations: 0 / 496.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.602e-05/0.4375, allocations: 8 kB / 496.1 MB, free: 4.719 MB / 362.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.001611/0.4391, allocations: 0.615 MB / 496.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.4392, allocations: 8.031 kB / 496.8 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.4394, allocations: 32.56 kB / 496.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.4398, allocations: 272.7 kB / 497.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.4399, allocations: 20.94 kB / 497.1 MB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.4399, allocations: 24.38 kB / 497.1 MB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.4407, allocations: 308 kB / 497.4 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4407, allocations: 4.125 kB / 497.4 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.4408, allocations: 15.94 kB / 497.4 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.4408, allocations: 8 kB / 497.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.4416, allocations: 269.5 kB / 497.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.4436, allocations: 1.117 MB / 498.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.4444, allocations: 238.5 kB / 499 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.4447, allocations: 108.8 kB / 499.2 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.4447, allocations: 4 kB / 499.2 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.4452, allocations: 184.2 kB / 499.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.4453, allocations: 0 / 499.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.002046/0.4473, allocations: 0.5457 MB / 499.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.4474, allocations: 106.8 kB / 500 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.4477, allocations: 282.6 kB / 0.4885 GB, free: 304 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.4478, allocations: 29.7 kB / 0.4886 GB, free: 268 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.4479, allocations: 199.4 kB / 0.4888 GB, free: 64 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.448, allocations: 43.48 kB / 0.4888 GB, free: 20 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.448, allocations: 4 kB / 0.4888 GB, free: 16 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4482, allocations: 334.8 kB / 0.4891 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.4486, allocations: 104.2 kB / 0.4892 GB, free: 15.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.449, allocations: 215 kB / 0.4894 GB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007305/0.4497, allocations: 329.4 kB / 0.4897 GB, free: 14.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4498, allocations: 0 / 0.4897 GB, free: 14.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001349/0.4511, allocations: 450.6 kB / 0.4902 GB, free: 14.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.4512, allocations: 33.7 kB / 0.4902 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4512, allocations: 4 kB / 0.4902 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004197/0.4517, allocations: 80.89 kB / 0.4903 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.4519, allocations: 55.84 kB / 0.4903 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.4545, allocations: 1.593 MB / 0.4919 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.455, allocations: 59.66 kB / 0.4919 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.455, allocations: 8 kB / 0.492 GB, free: 12.52 MB / 378.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.000284/0.4553, allocations: 145.8 kB / 0.4921 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.4554, allocations: 31.64 kB / 0.4921 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.4555, allocations: 25.72 kB / 0.4921 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4555, allocations: 0 / 0.4921 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4555, allocations: 3.984 kB / 0.4922 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4555, allocations: 0 / 0.4922 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.456, allocations: 293.5 kB / 0.4924 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.456, allocations: 192 / 0.4924 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.4562, allocations: 39.91 kB / 0.4925 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.4565, allocations: 64.8 kB / 0.4925 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.4565, allocations: 7.938 kB / 0.4925 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.4592, allocations: 1.585 MB / 0.4941 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4592, allocations: 4.062 kB / 0.4941 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.4602, allocations: 335 kB / 0.4944 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.4604, allocations: 116.7 kB / 0.4945 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.4604, allocations: 7.938 kB / 0.4945 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.4607, allocations: 35.95 kB / 0.4946 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.4608, allocations: 19.97 kB / 0.4946 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4608, allocations: 8 kB / 0.4946 GB, free: 9.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002514/0.461, allocations: 198 kB / 0.4948 GB, free: 9.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4611, allocations: 0 / 0.4948 GB, free: 9.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.4615, allocations: 87.84 kB / 0.4949 GB, free: 9.32 MB / 378.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.00029/0.4618, allocations: 111.1 kB / 0.495 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.4632, allocations: 422 kB / 0.4954 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4632, allocations: 0 / 0.4954 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.4638, allocations: 243.1 kB / 0.4956 GB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4643, allocations: 37.42 kB / 0.4956 GB, free: 8.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4657, allocations: 0.5442 MB / 0.4962 GB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.4663, allocations: 0.7521 MB / 0.4969 GB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.4664, allocations: 26.3 kB / 0.4969 GB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.4665, allocations: 19.44 kB / 0.4969 GB, free: 7.082 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4665, allocations: 0 / 0.4969 GB, free: 7.082 MB / 378.7 MB Notification: Performance of Templates: time 0.009273/0.4758, allocations: 3.713 MB / 0.5006 GB, free: 3.406 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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