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.001061/0.001061, allocations: 116.9 kB / 18.4 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 200.6 kB / 19.34 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.25 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 50.54 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002716/0.1104, allocations: 1.518 MB / 360.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1123, allocations: 0.8825 MB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.1123, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.1124, allocations: 7.922 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.1125, allocations: 23.78 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1128, allocations: 47.89 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.113, allocations: 151.8 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1131, allocations: 19.98 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.1135, allocations: 387.2 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1137, allocations: 63.72 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.1137, allocations: 8 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.766e-05/0.1137, allocations: 12 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.1138, allocations: 67.69 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1139, allocations: 111.2 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.1142, allocations: 358.7 kB / 362.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1143, allocations: 3.938 kB / 362.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1143, allocations: 0 / 362.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1143, allocations: 0 / 362.5 MB, free: 9.652 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.0007005/0.115, allocations: 0.7226 MB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.115, allocations: 16.03 kB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.1151, allocations: 36.47 kB / 363.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1154, allocations: 274.3 kB / 363.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1154, allocations: 4.375 kB / 363.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1155, allocations: 12.38 kB / 363.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.1157, allocations: 129.9 kB / 363.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1158, allocations: 0 / 363.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.1158, allocations: 7.984 kB / 363.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1158, allocations: 0 / 363.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1159, allocations: 63.89 kB / 363.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.1166, allocations: 460.5 kB / 364.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1168, allocations: 102.5 kB / 364.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.117, allocations: 76.89 kB / 364.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.117, allocations: 0 / 364.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.1173, allocations: 206.7 kB / 364.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.1173, allocations: 0 / 364.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007505/0.1181, allocations: 467.9 kB / 365.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.1182, allocations: 170.2 kB / 365.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.1188, allocations: 0.5129 MB / 365.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.1189, allocations: 33.7 kB / 365.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.119, allocations: 97.12 kB / 365.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.119, allocations: 27.66 kB / 365.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1191, allocations: 85.41 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1192, allocations: 326.8 kB / 366.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1194, allocations: 55.97 kB / 366.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1195, allocations: 76.36 kB / 366.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.1199, allocations: 350.7 kB / 366.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1199, allocations: 112 / 366.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005159/0.1204, allocations: 388.2 kB / 367.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.1206, allocations: 130.8 kB / 367.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1206, allocations: 0 / 367.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1206, allocations: 0 / 367.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-05/0.1206, allocations: 4 kB / 367.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1207, allocations: 0 / 367.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1208, allocations: 8 kB / 367.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.1209, allocations: 43.98 kB / 367.3 MB, free: 4.422 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.0003452/0.1212, allocations: 367.3 kB / 367.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.1213, allocations: 43.56 kB / 367.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.1214, allocations: 67.09 kB / 367.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1214, allocations: 4 kB / 367.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1214, allocations: 0 / 367.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1214, allocations: 0 / 367.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.1224, allocations: 0.8132 MB / 368.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1224, allocations: 0 / 368.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.1224, allocations: 0 / 368.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1224, allocations: 3.984 kB / 368.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.1224, allocations: 16 kB / 368.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1225, allocations: 0 / 368.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1225, allocations: 3.938 kB / 368.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.1231, allocations: 0.5252 MB / 369.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.1234, allocations: 248.4 kB / 369.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.1234, allocations: 8 kB / 369.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1236, allocations: 11.98 kB / 369.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1237, allocations: 31.91 kB / 369.5 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.1238, allocations: 48.12 kB / 369.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004492/0.1242, allocations: 386.9 kB / 369.9 MB, free: 1.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1242, allocations: 4 kB / 369.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1245, allocations: 47.94 kB / 369.9 MB, free: 1.637 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.000153/0.1247, allocations: 123 kB / 370.1 MB, free: 1.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.1252, allocations: 437.5 kB / 370.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1252, allocations: 0 / 370.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.1256, allocations: 377.6 kB / 370.9 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.1262, allocations: 114.4 kB / 371 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1507/0.2769, allocations: 0.6479 MB / 371.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.2776, allocations: 0.8016 MB / 372.4 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.2777, allocations: 8.922 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.2778, allocations: 12.77 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.824e-06/0.2778, allocations: 0.625 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01012/0.2879, allocations: 4.518 MB / 377 MB, free: 19.51 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 -s cvode -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.0.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