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.00104/0.00104, allocations: 201.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009375/0.0009375, allocations: 99.78 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.931e-05, allocations: 4 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 51.48 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3503/0.4643, allocations: 79.97 MB / 475.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.4646, allocations: 71.14 kB / 475.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.4793, allocations: 5.939 MB / 481.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4794, allocations: 0 / 481.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.4794, allocations: 8 kB / 481.2 MB, free: 8.195 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.0007945/0.4802, allocations: 0.5787 MB / 481.7 MB, free: 7.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4802, allocations: 8.031 kB / 481.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.4803, allocations: 31.62 kB / 481.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4806, allocations: 265.8 kB / 482 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.4806, allocations: 11.61 kB / 482 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.4806, allocations: 12 kB / 482.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002672/0.4809, allocations: 160.4 kB / 482.2 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.4812, allocations: 224.4 kB / 482.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4812, allocations: 0 / 482.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.4813, allocations: 0 / 482.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4813, allocations: 8 kB / 482.4 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.4825, allocations: 1.055 MB / 483.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.4828, allocations: 129.5 kB / 483.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.4829, allocations: 50.17 kB / 483.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.483, allocations: 8.031 kB / 483.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.4831, allocations: 122.6 kB / 483.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.4832, allocations: 0 / 483.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005223/0.4837, allocations: 198.1 kB / 484 MB, free: 5.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4837, allocations: 106.8 kB / 484.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.4839, allocations: 226.3 kB / 484.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4839, allocations: 25.7 kB / 484.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.484, allocations: 203.1 kB / 484.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.4841, allocations: 39.33 kB / 484.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.4841, allocations: 0 / 484.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.4841, allocations: 329 kB / 484.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.4842, allocations: 47.92 kB / 484.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4843, allocations: 164.1 kB / 485.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.4844, allocations: 56.77 kB / 485.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4844, allocations: 1.594 kB / 485.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005476/0.485, allocations: 293.9 kB / 485.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.485, allocations: 30.11 kB / 485.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4851, allocations: 11.12 kB / 485.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.4852, allocations: 54.89 kB / 485.5 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.4854, allocations: 55.03 kB / 485.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.4865, allocations: 1.456 MB / 487.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.4868, allocations: 51.77 kB / 487.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4868, allocations: 18.67 kB / 487.1 MB, free: 2.551 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 () * 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 6.99e-05/0.4869, allocations: 120.9 kB / 487.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.4869, allocations: 19.72 kB / 487.3 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.487, allocations: 28.14 kB / 487.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.487, allocations: 0 / 487.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.487, allocations: 0 / 487.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.487, allocations: 0 / 487.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.4872, allocations: 255.8 kB / 487.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4872, allocations: 0 / 487.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4873, allocations: 34.31 kB / 487.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.4874, allocations: 51.95 kB / 487.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4874, allocations: 0 / 487.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009334/0.4884, allocations: 1.451 MB / 489.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4884, allocations: 0 / 489.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.4888, allocations: 224 kB / 489.3 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.4889, allocations: 107.8 kB / 489.4 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4889, allocations: 3.984 kB / 489.4 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.4892, allocations: 39.92 kB / 489.4 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.4892, allocations: 23.03 kB / 489.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.4893, allocations: 11.91 kB / 489.5 MB, free: 248 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4894, allocations: 166.1 kB / 489.6 MB, free: 112 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4894, allocations: 0 / 489.6 MB, free: 112 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.4897, allocations: 79.77 kB / 489.7 MB, free: 32 kB / 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) * 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.000163/0.4899, allocations: 102.6 kB / 489.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004432/0.4903, allocations: 310.1 kB / 490.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4903, allocations: 0 / 490.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.4905, allocations: 183.1 kB / 490.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.4908, allocations: 33.36 kB / 490.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.4914, allocations: 273.9 kB / 490.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4917, allocations: 0.7599 MB / 491.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.4919, allocations: 18.08 kB / 491.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.4919, allocations: 19.44 kB / 491.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4919, allocations: 0 / 491.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Templates: time 0.006295/0.4982, allocations: 3.247 MB / 494.6 MB, free: 11.23 MB / 362.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/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