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.0009181/0.000918, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002553, allocations: 8 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 51.52 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001705/0.1112, allocations: 1.245 MB / 360.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1131, allocations: 0.8929 MB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.1131, allocations: 0 / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.019e-05/0.1132, allocations: 11.92 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.1133, allocations: 15.86 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1135, allocations: 43.97 kB / 361.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1137, allocations: 115.7 kB / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.1138, allocations: 19.97 kB / 361.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.1142, allocations: 379.3 kB / 362 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1143, allocations: 55.77 kB / 362 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1144, allocations: 7.938 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.1144, allocations: 4 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.1145, allocations: 79.62 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1146, allocations: 128.9 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1149, allocations: 346.6 kB / 362.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1149, allocations: 0 / 362.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1149, allocations: 0 / 362.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.115, allocations: 4 kB / 362.6 MB, free: 9.961 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.0006309/0.1156, allocations: 0.6531 MB / 363.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1157, allocations: 8.031 kB / 363.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.1157, allocations: 40.47 kB / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.116, allocations: 282.2 kB / 363.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.1161, allocations: 12.36 kB / 363.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.1161, allocations: 8.375 kB / 363.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1164, allocations: 129.2 kB / 363.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1164, allocations: 0 / 363.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.1165, allocations: 4 kB / 363.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1165, allocations: 3.984 kB / 363.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1166, allocations: 63.89 kB / 363.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.1173, allocations: 456.5 kB / 364.2 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1175, allocations: 98.53 kB / 364.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1176, allocations: 76.89 kB / 364.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1177, allocations: 7.938 kB / 364.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.118, allocations: 205.7 kB / 364.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.118, allocations: 0 / 364.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008038/0.1188, allocations: 464 kB / 365 MB, free: 7.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1189, allocations: 166.2 kB / 365.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006307/0.1196, allocations: 0.5206 MB / 365.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1196, allocations: 29.7 kB / 365.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.1197, allocations: 101.1 kB / 365.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.1197, allocations: 27.66 kB / 365.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.1198, allocations: 29.7 kB / 365.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1199, allocations: 326.8 kB / 366.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1201, allocations: 55.97 kB / 366.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1202, allocations: 69.69 kB / 366.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.1205, allocations: 347.3 kB / 366.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1205, allocations: 0 / 366.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005133/0.1211, allocations: 380.1 kB / 367.1 MB, free: 5.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.1212, allocations: 126.8 kB / 367.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1212, allocations: 0 / 367.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1212, allocations: 7.938 kB / 367.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.952e-05/0.1212, allocations: 4.109 kB / 367.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1212, allocations: 7.938 kB / 367.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.1214, allocations: 12.11 kB / 367.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.1215, allocations: 47.92 kB / 367.3 MB, free: 4.855 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.0003252/0.1218, allocations: 371.3 kB / 367.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.1218, allocations: 39.62 kB / 367.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.1219, allocations: 59.16 kB / 367.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.122, allocations: 0 / 367.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.122, allocations: 0 / 367.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.122, allocations: 4 kB / 367.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.1229, allocations: 0.8209 MB / 368.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1229, allocations: 0 / 368.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-06/0.1229, allocations: 0 / 368.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1229, allocations: 0 / 368.6 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.123, allocations: 19.98 kB / 368.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.123, allocations: 4 kB / 368.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.123, allocations: 3.938 kB / 368.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.1236, allocations: 0.5175 MB / 369.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.1239, allocations: 244.4 kB / 369.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.124, allocations: 12 kB / 369.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1242, allocations: 15.98 kB / 369.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1243, allocations: 31.84 kB / 369.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.1244, allocations: 47.94 kB / 369.4 MB, free: 2.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004794/0.1248, allocations: 386.9 kB / 369.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 369.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1251, allocations: 43.94 kB / 369.9 MB, free: 2.074 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.000149/0.1253, allocations: 119.1 kB / 370 MB, free: 1.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.1258, allocations: 437.5 kB / 370.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1258, allocations: 4.062 kB / 370.4 MB, free: 1.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.1262, allocations: 373.5 kB / 370.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.1268, allocations: 119.4 kB / 370.9 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.128, allocations: 0.7583 MB / 371.7 MB, free: 164 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1813/0.3092, allocations: 0.7966 MB / 372.4 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.3094, allocations: 5.828 kB / 372.5 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3094, allocations: 11.59 kB / 372.5 MB, free: 19.04 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3094, allocations: 0 / 372.5 MB, free: 19.04 MB / 302.1 MB Notification: Performance of Templates: time 0.009045/0.3184, allocations: 3.976 MB / 376.4 MB, free: 18.71 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