Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 112.5 kB / 17.69 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 191 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009183/0.0009184, allocations: 51.94 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.08079, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003547/0.08437, allocations: 2.784 MB / 354.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008998/0.08529, allocations: 0.6427 MB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.08541, allocations: 8 kB / 354.9 MB, free: 240 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.08554, allocations: 47.5 kB / 355 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.08572, allocations: 95.14 kB / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.08595, allocations: 83.88 kB / 355.2 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.08633, allocations: 382.3 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.08654, allocations: 122.9 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.08669, allocations: 143.5 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.08687, allocations: 159.3 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.08694, allocations: 36 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.08699, allocations: 32 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.08706, allocations: 83.67 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.08722, allocations: 159.2 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.08754, allocations: 386.6 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.08755, allocations: 0 / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08755, allocations: 0 / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.08756, allocations: 0 / 356.6 MB, free: 14.54 MB / 302.1 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.001097/0.08867, allocations: 0.6498 MB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.08871, allocations: 8.031 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.08878, allocations: 32.56 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.0891, allocations: 280.6 kB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.08913, allocations: 20.94 kB / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.08917, allocations: 24.38 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.08975, allocations: 303.6 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.08977, allocations: 0 / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.0898, allocations: 12 kB / 357.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.08981, allocations: 4 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/0.09049, allocations: 257.5 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.09194, allocations: 1.078 MB / 359.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.09261, allocations: 218.5 kB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.09289, allocations: 100.7 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.09292, allocations: 4 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.0933, allocations: 161.9 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.554e-06/0.09331, allocations: 4 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001755/0.09507, allocations: 0.5066 MB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.09514, allocations: 106.8 kB / 360.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.0954, allocations: 286.6 kB / 360.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.09543, allocations: 33.7 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.09555, allocations: 203.5 kB / 360.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.09559, allocations: 43.39 kB / 360.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.09569, allocations: 53.84 kB / 361 MB, free: 9.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.09579, allocations: 326.8 kB / 361.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.09608, allocations: 100.1 kB / 361.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.09643, allocations: 210.1 kB / 361.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.09702, allocations: 293.5 kB / 361.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.09703, allocations: 3.938 kB / 361.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001021/0.09806, allocations: 427.6 kB / 362.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.0981, allocations: 37.69 kB / 362.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.09811, allocations: 4 kB / 362.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.09841, allocations: 72.75 kB / 362.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.09861, allocations: 51.98 kB / 362.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.1006, allocations: 1.707 MB / 364.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.101, allocations: 59.7 kB / 364.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.101, allocations: 12 kB / 364.2 MB, free: 6.332 MB / 302.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1011, allocations: 149.7 kB / 364.4 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.1012, allocations: 23.72 kB / 364.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.1012, allocations: 25.7 kB / 364.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1012, allocations: 0 / 364.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.1012, allocations: 0 / 364.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1012, allocations: 0 / 364.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1015, allocations: 313.2 kB / 364.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1015, allocations: 4 kB / 364.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1016, allocations: 20.16 kB / 364.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.1018, allocations: 68.81 kB / 364.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1019, allocations: 7.984 kB / 364.8 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.1037, allocations: 1.696 MB / 366.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1037, allocations: 0 / 366.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008345/0.1046, allocations: 309.5 kB / 366.8 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.1047, allocations: 112.8 kB / 367 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1047, allocations: 4 kB / 367 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1049, allocations: 31.95 kB / 367 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.105, allocations: 19.98 kB / 367 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.105, allocations: 7.984 kB / 367 MB, free: 3.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1052, allocations: 205.8 kB / 367.2 MB, free: 3.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1052, allocations: 3.938 kB / 367.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1055, allocations: 87.83 kB / 367.3 MB, free: 3.035 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001042/0.1056, allocations: 105.7 kB / 367.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008273/0.1065, allocations: 405.9 kB / 367.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1065, allocations: 0 / 367.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.1069, allocations: 227.2 kB / 368 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1071, allocations: 45.05 kB / 368.1 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.108, allocations: 456.5 kB / 368.5 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1082, allocations: 0.7518 MB / 369.3 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.376e-05/0.1083, allocations: 34.27 kB / 369.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.1084, allocations: 19.44 kB / 369.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1084, allocations: 0 / 369.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of Templates: time 0.2968/0.4051, allocations: 4.158 MB / 373.5 MB, free: 24.82 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches