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.001294/0.001294, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 73.5 kB / 307.6 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1077, allocations: 50.53 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003183/0.1109, allocations: 1.526 MB / 359.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1129, allocations: 0.8787 MB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.113, allocations: 4 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.395e-05/0.1131, allocations: 7.875 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.558e-05/0.1133, allocations: 27.84 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1135, allocations: 47.89 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1138, allocations: 151.7 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1139, allocations: 19.98 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.1144, allocations: 379.3 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1146, allocations: 63.77 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.1146, allocations: 8 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.1147, allocations: 12 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1148, allocations: 71.62 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1149, allocations: 115.2 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1153, allocations: 350.8 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1153, allocations: 0 / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1153, allocations: 0 / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1153, allocations: 3.938 kB / 361.8 MB, free: 10.41 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.0008583/0.1162, allocations: 0.723 MB / 362.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1162, allocations: 12.03 kB / 362.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.1163, allocations: 44.41 kB / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.1167, allocations: 278.3 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1167, allocations: 4.375 kB / 362.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1167, allocations: 8.375 kB / 362.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.1171, allocations: 129.9 kB / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1171, allocations: 0 / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1171, allocations: 8 kB / 363 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1171, allocations: 0 / 363 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1173, allocations: 59.97 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.118, allocations: 472.3 kB / 363.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1182, allocations: 90.55 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1184, allocations: 80.89 kB / 363.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.1184, allocations: 8 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/0.1188, allocations: 206 kB / 363.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.1188, allocations: 0 / 363.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000845/0.1196, allocations: 464.1 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.1198, allocations: 166.2 kB / 364.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.1205, allocations: 0.5168 MB / 365 MB, free: 6.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.1205, allocations: 29.7 kB / 365.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.1206, allocations: 105.1 kB / 365.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.1206, allocations: 27.59 kB / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1208, allocations: 85.41 kB / 365.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1209, allocations: 326.8 kB / 365.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1211, allocations: 51.97 kB / 365.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1212, allocations: 73.69 kB / 365.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.1216, allocations: 350.7 kB / 366.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1216, allocations: 0 / 366.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005572/0.1222, allocations: 376.2 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.1223, allocations: 125.6 kB / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1223, allocations: 0 / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1223, allocations: 0 / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.1223, allocations: 7.984 kB / 366.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1224, allocations: 112 / 366.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.1225, allocations: 15.94 kB / 366.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.1226, allocations: 48.02 kB / 366.6 MB, free: 5.176 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.0003704/0.123, allocations: 371.3 kB / 367 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.123, allocations: 35.53 kB / 367 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.1231, allocations: 71.14 kB / 367.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1231, allocations: 3.984 kB / 367.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1232, allocations: 0 / 367.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1232, allocations: 0 / 367.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1242, allocations: 0.8055 MB / 367.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1242, allocations: 4.188 kB / 367.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.1242, allocations: 4 kB / 367.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1242, allocations: 7.938 kB / 367.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.1243, allocations: 15.98 kB / 367.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1243, allocations: 0 / 367.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1243, allocations: 3.938 kB / 367.9 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.125, allocations: 0.5175 MB / 368.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.1253, allocations: 248.4 kB / 368.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.1254, allocations: 16 kB / 368.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1255, allocations: 15.92 kB / 368.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1256, allocations: 23.92 kB / 368.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.1257, allocations: 47.92 kB / 368.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004842/0.1262, allocations: 382.9 kB / 369.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 369.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1265, allocations: 43.94 kB / 369.2 MB, free: 2.402 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.0001477/0.1266, allocations: 119 kB / 369.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005691/0.1272, allocations: 441.5 kB / 369.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1272, allocations: 0 / 369.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.1276, allocations: 377.6 kB / 370.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.1282, allocations: 125.3 kB / 370.3 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1294, allocations: 0.7061 MB / 371 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.153/0.2825, allocations: 0.8027 MB / 371.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.2826, allocations: 13.06 kB / 371.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2826, allocations: 0 / 371.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of Templates: time 0.005681/0.2882, allocations: 2.575 MB / 374.4 MB, free: 19.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches