Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.66 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002919/0.1184, allocations: 1.525 MB / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1203, allocations: 0.8787 MB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.1204, allocations: 0 / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.1205, allocations: 11.92 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.1206, allocations: 19.8 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1208, allocations: 55.88 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1211, allocations: 143.7 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1212, allocations: 23.97 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.1216, allocations: 379.3 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1217, allocations: 67.7 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.1218, allocations: 12 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.35e-05/0.1218, allocations: 8 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.1219, allocations: 63.77 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.122, allocations: 115.2 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.1224, allocations: 354.8 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1224, allocations: 0 / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1224, allocations: 0 / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1224, allocations: 0 / 361.1 MB, free: 10.48 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006972/0.1231, allocations: 0.7229 MB / 361.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1231, allocations: 19.97 kB / 361.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.1232, allocations: 36.47 kB / 361.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1235, allocations: 274.3 kB / 362.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1235, allocations: 4.375 kB / 362.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.1236, allocations: 8.375 kB / 362.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1239, allocations: 133.9 kB / 362.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1239, allocations: 0 / 362.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.1239, allocations: 7.984 kB / 362.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1239, allocations: 4 kB / 362.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.1241, allocations: 59.91 kB / 362.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.1247, allocations: 456.5 kB / 362.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1249, allocations: 102.5 kB / 362.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1251, allocations: 80.89 kB / 363 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.1251, allocations: 4 kB / 363 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.1255, allocations: 202.7 kB / 363.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1255, allocations: 0 / 363.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007709/0.1262, allocations: 468 kB / 363.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.1264, allocations: 166.2 kB / 363.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.127, allocations: 0.5168 MB / 364.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.127, allocations: 29.7 kB / 364.3 MB, free: 6.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.1271, allocations: 105.1 kB / 364.5 MB, free: 6.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.1271, allocations: 35.62 kB / 364.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1272, allocations: 77.42 kB / 364.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1274, allocations: 326.8 kB / 364.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1275, allocations: 55.97 kB / 364.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1277, allocations: 73.67 kB / 365 MB, free: 6.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.128, allocations: 350.7 kB / 365.3 MB, free: 5.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.128, allocations: 0 / 365.3 MB, free: 5.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000503/0.1285, allocations: 376.2 kB / 365.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.1286, allocations: 129.9 kB / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1287, allocations: 4.016 kB / 365.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1287, allocations: 0 / 365.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-05/0.1287, allocations: 4 kB / 365.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1287, allocations: 3.984 kB / 365.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1289, allocations: 15.98 kB / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.1289, allocations: 40 kB / 365.9 MB, free: 5.242 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003256/0.1293, allocations: 367.2 kB / 366.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.1293, allocations: 39.53 kB / 366.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.1294, allocations: 63.16 kB / 366.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1294, allocations: 4 kB / 366.4 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1294, allocations: 0 / 366.4 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1294, allocations: 3.984 kB / 366.4 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.1304, allocations: 0.821 MB / 367.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1304, allocations: 4 kB / 367.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-06/0.1304, allocations: 0 / 367.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1304, allocations: 0 / 367.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1304, allocations: 16 kB / 367.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1304, allocations: 0 / 367.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1304, allocations: 4.125 kB / 367.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.131, allocations: 0.5214 MB / 367.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.1313, allocations: 248.4 kB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.1314, allocations: 11.98 kB / 368 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1315, allocations: 12 kB / 368 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.1316, allocations: 31.91 kB / 368 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.1317, allocations: 43.94 kB / 368.1 MB, free: 2.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004192/0.1321, allocations: 386.9 kB / 368.5 MB, free: 2.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1321, allocations: 0 / 368.5 MB, free: 2.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1324, allocations: 51.94 kB / 368.5 MB, free: 2.457 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.1325, allocations: 115 kB / 368.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.133, allocations: 445.5 kB / 369.1 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1331, allocations: 3.938 kB / 369.1 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.1334, allocations: 373.6 kB / 369.4 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.134, allocations: 128.8 kB / 369.6 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.135, allocations: 0.6537 MB / 370.2 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1859/0.321, allocations: 0.7974 MB / 371 MB, free: 20.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.681e-05/0.3211, allocations: 10.62 kB / 371 MB, free: 20.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.3211, allocations: 11.88 kB / 371 MB, free: 20.12 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3211, allocations: 0 / 371 MB, free: 20.12 MB / 302.1 MB Notification: Performance of Templates: time 0.01098/0.3321, allocations: 4.513 MB / 375.5 MB, free: 19.79 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches