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.0009109/0.0009109, allocations: 91.75 kB / 17.31 MB, free: 6.383 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.000996/0.000996, allocations: 178.3 kB / 18.21 MB, free: 5.547 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.286/1.286, allocations: 223.3 MB / 242.3 MB, free: 248 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002291/0.0002292, allocations: 12.08 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07464/0.07489, allocations: 50.41 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002568/0.07749, allocations: 2.463 MB / 355 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.07847, allocations: 0.6272 MB / 355.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.07858, allocations: 4 kB / 355.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.07869, allocations: 39.75 kB / 355.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.07886, allocations: 79.31 kB / 355.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.07907, allocations: 79.88 kB / 355.8 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.07938, allocations: 362.3 kB / 356.1 MB, free: 48 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.07958, allocations: 99.67 kB / 356.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.07973, allocations: 131.3 kB / 356.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.07996, allocations: 147.3 kB / 356.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.08003, allocations: 16 kB / 356.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.963e-05/0.0801, allocations: 20 kB / 356.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.08019, allocations: 51.77 kB / 356.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.08035, allocations: 172.9 kB / 356.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.08059, allocations: 275.4 kB / 357 MB, free: 15.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.0806, allocations: 0 / 357 MB, free: 15.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.08061, allocations: 0 / 357 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.08062, allocations: 0 / 357 MB, free: 15.14 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.001188/0.08181, allocations: 0.6148 MB / 357.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.08186, allocations: 12.03 kB / 357.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.08193, allocations: 32.56 kB / 357.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.08221, allocations: 276.5 kB / 358 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.08224, allocations: 20.94 kB / 358 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.08229, allocations: 28.36 kB / 358 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.08297, allocations: 315.7 kB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.08299, allocations: 0 / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.08303, allocations: 8 kB / 358.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.08304, allocations: 12 kB / 358.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008574/0.08391, allocations: 277.5 kB / 358.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.08552, allocations: 1.113 MB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.08637, allocations: 226.5 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.08672, allocations: 108.8 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.08675, allocations: 7.984 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/0.08723, allocations: 177.9 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.08725, allocations: 0 / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002299/0.08955, allocations: 0.5496 MB / 360.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.08962, allocations: 110.8 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.08996, allocations: 282.6 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.08999, allocations: 33.7 kB / 361.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.09014, allocations: 199.5 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.09019, allocations: 43.39 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.09023, allocations: 29.7 kB / 361.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.09035, allocations: 326.8 kB / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.09073, allocations: 112.1 kB / 361.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.09119, allocations: 214.9 kB / 362.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.09198, allocations: 324.8 kB / 362.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.09199, allocations: 7.938 kB / 362.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001296/0.09329, allocations: 451.7 kB / 362.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.09334, allocations: 33.69 kB / 362.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.09335, allocations: 8 kB / 362.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.09369, allocations: 68.75 kB / 363 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.09393, allocations: 63.98 kB / 363 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.09618, allocations: 1.581 MB / 364.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.09656, allocations: 63.72 kB / 364.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.0966, allocations: 19.97 kB / 364.7 MB, free: 6.895 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.0001396/0.09674, allocations: 145.7 kB / 364.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.09679, allocations: 31.59 kB / 364.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.09684, allocations: 21.7 kB / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.09685, allocations: 4 kB / 364.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.09686, allocations: 4 kB / 364.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.09686, allocations: 0 / 364.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.09713, allocations: 305.5 kB / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.09714, allocations: 4 kB / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.09728, allocations: 23.92 kB / 365.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.09756, allocations: 72.8 kB / 365.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.09758, allocations: 4 kB / 365.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.0997, allocations: 1.574 MB / 366.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.09971, allocations: 0 / 366.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1009, allocations: 341.9 kB / 367.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.101, allocations: 116.7 kB / 367.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.101, allocations: 3.984 kB / 367.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.1013, allocations: 39.97 kB / 367.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.1014, allocations: 19.97 kB / 367.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1014, allocations: 4.188 kB / 367.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.1016, allocations: 198 kB / 367.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 0 / 367.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.102, allocations: 79.84 kB / 367.7 MB, free: 3.699 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.0001081/0.1021, allocations: 111.2 kB / 367.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1031, allocations: 430.6 kB / 368.2 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1031, allocations: 4.062 kB / 368.2 MB, free: 3.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.1036, allocations: 234.5 kB / 368.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.104, allocations: 40.81 kB / 368.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.1049, allocations: 0.5975 MB / 369.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1052, allocations: 0.756 MB / 369.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.1053, allocations: 19.44 kB / 369.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1053, allocations: 0 / 369.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of Templates: time 0.1371/0.2424, allocations: 4.359 MB / 374.2 MB, free: 23.76 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