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.001144/0.001144, allocations: 86.34 kB / 16.31 MB, free: 5.676 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.001279/0.001279, allocations: 186.6 kB / 17.21 MB, free: 5.59 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.586/1.586, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 4 kB / 300.8 MB, free: 6.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 50.42 MB / 351.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003055/0.117, allocations: 2.363 MB / 353.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1181, allocations: 0.6236 MB / 354.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1183, allocations: 4 kB / 354.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1184, allocations: 31.77 kB / 354.3 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1186, allocations: 75.38 kB / 354.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1189, allocations: 59.88 kB / 354.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.1193, allocations: 338.5 kB / 354.7 MB, free: 312 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.1195, allocations: 90.34 kB / 354.8 MB, free: 216 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1197, allocations: 123.5 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1199, allocations: 139.5 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.12, allocations: 16 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.482e-05/0.1201, allocations: 20 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.1201, allocations: 55.75 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.1202, allocations: 81.52 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1205, allocations: 275.4 kB / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1205, allocations: 0 / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1205, allocations: 4 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1206, allocations: 0 / 355.5 MB, free: 15.5 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.001183/0.1217, allocations: 0.6185 MB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1218, allocations: 8.031 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.1219, allocations: 31.62 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1222, allocations: 275.3 kB / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.1223, allocations: 20.56 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.1223, allocations: 28 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.123, allocations: 311.3 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.123, allocations: 0 / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.123, allocations: 12 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.123, allocations: 11.95 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007477/0.1238, allocations: 273.5 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1257, allocations: 1.109 MB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.1265, allocations: 242.5 kB / 358.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.1268, allocations: 100.8 kB / 358.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1268, allocations: 4 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.1273, allocations: 181.8 kB / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1273, allocations: 4 kB / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001883/0.1292, allocations: 0.5457 MB / 359.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.1292, allocations: 106.8 kB / 359.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.1296, allocations: 290.5 kB / 359.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1296, allocations: 29.7 kB / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1297, allocations: 195.6 kB / 359.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1298, allocations: 39.45 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.1298, allocations: 4 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1299, allocations: 338.8 kB / 360.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.1302, allocations: 100.2 kB / 360.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.1306, allocations: 215 kB / 360.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.131, allocations: 149 kB / 360.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.131, allocations: 3.938 kB / 360.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001136/0.1321, allocations: 451.7 kB / 361.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/0.1322, allocations: 37.64 kB / 361.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1322, allocations: 4.094 kB / 361.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.1326, allocations: 72.8 kB / 361.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.1329, allocations: 55.91 kB / 361.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.1351, allocations: 1.59 MB / 362.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.1354, allocations: 59.64 kB / 363 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1355, allocations: 20.06 kB / 363 MB, free: 7.516 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 ($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.0001723/0.1357, allocations: 145.7 kB / 363.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1357, allocations: 23.72 kB / 363.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.1358, allocations: 25.7 kB / 363.2 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1358, allocations: 0 / 363.2 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1358, allocations: 0 / 363.2 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1358, allocations: 4 kB / 363.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.1361, allocations: 305.4 kB / 363.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1361, allocations: 4 kB / 363.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1362, allocations: 23.98 kB / 363.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.1365, allocations: 68.8 kB / 363.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1365, allocations: 0 / 363.6 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.1384, allocations: 1.578 MB / 365.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1384, allocations: 4.031 kB / 365.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.1393, allocations: 337.4 kB / 365.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1394, allocations: 112.8 kB / 365.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1395, allocations: 4 kB / 365.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.1397, allocations: 35.97 kB / 365.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.1398, allocations: 31.91 kB / 365.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1398, allocations: 4 kB / 365.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.14, allocations: 201.9 kB / 365.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.14, allocations: 0 / 365.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1404, allocations: 79.84 kB / 365.9 MB, free: 4.324 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 (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.0001512/0.1405, allocations: 99.72 kB / 366 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009221/0.1415, allocations: 433.9 kB / 366.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1415, allocations: 0 / 366.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.1419, allocations: 235.2 kB / 366.7 MB, free: 3.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.1422, allocations: 48.8 kB / 366.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009353/0.1432, allocations: 0.5393 MB / 367.3 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1435, allocations: 0.7521 MB / 368 MB, free: 2.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1436, allocations: 26.28 kB / 368 MB, free: 2.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.1437, allocations: 23.42 kB / 368.1 MB, free: 2.086 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1437, allocations: 3.938 kB / 368.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of Templates: time 0.2179/0.3615, allocations: 3.657 MB / 371.7 MB, free: 23.57 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/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