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.0009937/0.0009937, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001076/0.001076, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.388/1.388, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.000267, allocations: 6.312 kB / 300.7 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 50.43 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002463/0.1137, allocations: 2.249 MB / 353.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.1146, allocations: 0.6432 MB / 354 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1148, allocations: 4 kB / 354 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.894e-05/0.1148, allocations: 35.75 kB / 354.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.115, allocations: 99.66 kB / 354.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1153, allocations: 59.92 kB / 354.2 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1156, allocations: 247.4 kB / 354.5 MB, free: 8.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1157, allocations: 86.34 kB / 354.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1159, allocations: 119.5 kB / 354.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1161, allocations: 143.4 kB / 354.8 MB, free: 8.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.1161, allocations: 16 kB / 354.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.981e-05/0.1161, allocations: 20 kB / 354.8 MB, free: 7.996 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1162, allocations: 59.73 kB / 354.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.1163, allocations: 77.58 kB / 355 MB, free: 7.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.1165, allocations: 271.2 kB / 355.2 MB, free: 7.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1165, allocations: 0 / 355.2 MB, free: 7.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1165, allocations: 0 / 355.2 MB, free: 7.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1166, allocations: 0 / 355.2 MB, free: 7.59 MB / 286.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.001107/0.1177, allocations: 0.6184 MB / 355.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1177, allocations: 12.03 kB / 355.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.1178, allocations: 39.58 kB / 355.9 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1181, allocations: 275.3 kB / 356.2 MB, free: 6.551 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.1181, allocations: 20.56 kB / 356.2 MB, free: 6.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1182, allocations: 20 kB / 356.2 MB, free: 6.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.1188, allocations: 311.4 kB / 356.5 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1188, allocations: 0 / 356.5 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1189, allocations: 12 kB / 356.5 MB, free: 6.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1189, allocations: 8 kB / 356.5 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.1196, allocations: 277.5 kB / 356.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1212, allocations: 1.113 MB / 357.9 MB, free: 4.703 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.122, allocations: 250.5 kB / 358.2 MB, free: 4.449 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.122, allocations: 0 / 358.2 MB, free: 4.449 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.1225, allocations: 186 kB / 358.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.1225, allocations: 0 / 358.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001928/0.1244, allocations: 0.5341 MB / 358.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.1245, allocations: 110.8 kB / 359 MB, free: 3.551 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1248, allocations: 282.7 kB / 359.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1248, allocations: 29.7 kB / 359.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1249, allocations: 195.5 kB / 359.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.125, allocations: 47.44 kB / 359.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.125, allocations: 4 kB / 359.5 MB, free: 2.984 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1251, allocations: 334.8 kB / 359.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.1255, allocations: 104.2 kB / 360 MB, free: 2.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.1258, allocations: 214.1 kB / 360.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1262, allocations: 157.5 kB / 360.3 MB, free: 2.125 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1262, allocations: 0 / 360.3 MB, free: 2.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001157/0.1274, allocations: 443.6 kB / 360.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.1274, allocations: 33.7 kB / 360.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1274, allocations: 4 kB / 360.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.1278, allocations: 76.89 kB / 360.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.128, allocations: 51.91 kB / 360.9 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.1301, allocations: 1.613 MB / 362.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.1305, allocations: 59.66 kB / 362.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.1305, allocations: 8 kB / 362.6 MB, free: 15.69 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.0001682/0.1307, allocations: 152 kB / 362.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1307, allocations: 31.66 kB / 362.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.1308, allocations: 29.7 kB / 362.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1308, allocations: 0 / 362.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1308, allocations: 0 / 362.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1308, allocations: 3.984 kB / 362.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.1311, allocations: 293.4 kB / 363.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1311, allocations: 0 / 363.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.1312, allocations: 35.92 kB / 363.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.1315, allocations: 68.73 kB / 363.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1315, allocations: 4.312 kB / 363.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.1334, allocations: 1.601 MB / 364.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1334, allocations: 0 / 364.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.1343, allocations: 333.9 kB / 365.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.1345, allocations: 116.7 kB / 365.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.1345, allocations: 8 kB / 365.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.1348, allocations: 31.95 kB / 365.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.1349, allocations: 31.97 kB / 365.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1349, allocations: 3.953 kB / 365.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1351, allocations: 202 kB / 365.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1351, allocations: 0 / 365.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.1354, allocations: 75.91 kB / 365.6 MB, free: 12.47 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.0001348/0.1356, allocations: 99.72 kB / 365.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009593/0.1365, allocations: 441.8 kB / 366.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1365, allocations: 3.938 kB / 366.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.137, allocations: 239.3 kB / 366.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1373, allocations: 32.88 kB / 366.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.1382, allocations: 0.5433 MB / 366.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1385, allocations: 0.7676 MB / 367.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.928e-05/0.1386, allocations: 26.28 kB / 367.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.1387, allocations: 23.38 kB / 367.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1387, allocations: 0 / 367.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Templates: time 0.006992/0.1457, allocations: 3.64 MB / 371.4 MB, free: 6.605 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches