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.00124/0.00124, allocations: 108.9 kB / 17.28 MB, free: 6.059 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.001188/0.001188, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.375/1.375, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009869/0.000987, allocations: 47.05 kB / 300.8 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.08817, allocations: 49.45 MB / 350.2 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003638/0.09184, allocations: 2.822 MB / 353.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000999/0.09287, allocations: 0.6389 MB / 353.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.093, allocations: 4 kB / 353.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.09318, allocations: 35.75 kB / 353.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.09336, allocations: 83.31 kB / 353.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.0936, allocations: 75.94 kB / 353.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.09396, allocations: 374.4 kB / 354.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.09418, allocations: 122.9 kB / 354.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.09434, allocations: 155.3 kB / 354.5 MB, free: 348 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.09451, allocations: 159.4 kB / 354.7 MB, free: 188 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.09456, allocations: 36 kB / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.09462, allocations: 36 kB / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.09469, allocations: 71.7 kB / 354.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.09485, allocations: 163.4 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.09512, allocations: 287.4 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.09513, allocations: 0 / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.09514, allocations: 0 / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.09515, allocations: 3.938 kB / 355.3 MB, free: 15.6 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.001178/0.09634, allocations: 0.6521 MB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.09638, allocations: 12.03 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.09646, allocations: 36.5 kB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.09675, allocations: 272.7 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.09678, allocations: 20.94 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.09683, allocations: 24.38 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.09749, allocations: 307.6 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.09752, allocations: 0 / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.09755, allocations: 4 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.09757, allocations: 11.94 kB / 356.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.09831, allocations: 253.6 kB / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.09986, allocations: 1.093 MB / 357.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/0.1006, allocations: 218.5 kB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.1009, allocations: 92.8 kB / 358.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1009, allocations: 0 / 358.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.1014, allocations: 171.2 kB / 358.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1014, allocations: 0 / 358.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001926/0.1033, allocations: 0.5027 MB / 358.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1034, allocations: 114.8 kB / 359 MB, free: 11.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.1037, allocations: 290.5 kB / 359.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1037, allocations: 29.7 kB / 359.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1038, allocations: 187.6 kB / 359.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.1039, allocations: 47.39 kB / 359.6 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.104, allocations: 53.84 kB / 359.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1041, allocations: 330.8 kB / 359.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.1044, allocations: 96.16 kB / 360 MB, free: 10.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.1048, allocations: 202.1 kB / 360.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.1054, allocations: 297.5 kB / 360.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1054, allocations: 3.938 kB / 360.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001111/0.1066, allocations: 435.1 kB / 361 MB, free: 9.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.1066, allocations: 37.69 kB / 361 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1066, allocations: 0 / 361 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.107, allocations: 84.78 kB / 361.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1072, allocations: 47.89 kB / 361.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.1094, allocations: 1.707 MB / 362.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.1097, allocations: 59.58 kB / 362.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.1098, allocations: 12.19 kB / 362.9 MB, free: 7.391 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.0001504/0.1099, allocations: 149.7 kB / 363 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.11, allocations: 23.72 kB / 363.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.11, allocations: 25.7 kB / 363.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.11, allocations: 8 kB / 363.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.11, allocations: 0 / 363.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.11, allocations: 0 / 363.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.1103, allocations: 301.3 kB / 363.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1103, allocations: 0 / 363.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1104, allocations: 19.98 kB / 363.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.1107, allocations: 68.8 kB / 363.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1107, allocations: 0 / 363.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.1127, allocations: 1.707 MB / 365.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1127, allocations: 192 / 365.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.1137, allocations: 317.8 kB / 365.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1138, allocations: 112.8 kB / 365.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1138, allocations: 4 kB / 365.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.1141, allocations: 31.97 kB / 365.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.1142, allocations: 27.91 kB / 365.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1142, allocations: 4 kB / 365.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1144, allocations: 205.9 kB / 365.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1144, allocations: 0 / 365.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1147, allocations: 79.84 kB / 366 MB, free: 4.098 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.0001156/0.1149, allocations: 99.23 kB / 366.1 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009067/0.1158, allocations: 414.5 kB / 366.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1158, allocations: 4.062 kB / 366.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.1162, allocations: 226.5 kB / 366.7 MB, free: 3.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1165, allocations: 48.75 kB / 366.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009665/0.1175, allocations: 0.5683 MB / 367.3 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1178, allocations: 0.7518 MB / 368.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.1178, allocations: 23.44 kB / 368.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1179, allocations: 0 / 368.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of Templates: time 0.1519/0.2698, allocations: 4.399 MB / 372.5 MB, free: 24.33 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 -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